How to insert table inside datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • visweswaran2830
    New Member
    • Nov 2009
    • 92

    How to insert table inside datagrid

    Hi,

    I am having datagrid in that I have one column that should have table. Now I want to know that how can I include table in datagrid. My table values may differ from each rows in datagrid. So that also should be accomplished.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Configure the GridView so that AutoGenerateCol umns = "True".

    Then in your VB.NET or C# code, retrieve your data from the database...set the GridView.DataSo urce to the data retrieved...the n call the GridView.DataBi nd() method to bind the GridView to the data source.

    The columns will automatically be generated for you based on your datasource.

    -Frinny

    Comment

    Working...