Results 1 to 2 of 2

Thread: [2005] Error in tablestyles

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2006
    Posts
    142

    Question [2005] Error in tablestyles

    Hi guys,

    I have trying this for a long long time. I am getting an error when i add this code:

    myDataGrid.TableStyles.Add(ts1)

    it says that "'TableStyles not a defiend and not a part of datagridview. what should i do? I am using 2005.

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: [2005] Error in tablestyles

    Hi David,
    The DataGridView does not have TableStyles as the DataGrid did.

    These may be of help to you:
    Cell styles in the DataGridView
    http://forums.microsoft.com/MSDN/Sho...58656&SiteID=1

    Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width