Problem with DataGridView Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siri11
    New Member
    • Sep 2007
    • 38

    Problem with DataGridView Control

    populate a datatable or dataset...set the datasource of that gridview to the table or dataset.....
    Code: ( css )

    1.GridView1.Dat aSource = dt;
    2.GridView1.Dat aBind();
    or,
    Code: ( css )
    1.GridView1.Dat aSource = DataSet1.Tables (dt);
    2.GridView1.Dat aBind();*/


    Thank u so much...
    But....
    I already tried using this.but it doesn't work "DataGridVi ew" control for Windows App doesn't have the "DataBind" method.And I also think that GridView control cannot be used for Windows appln,it is for web applns.
  • kunal pawar
    Contributor
    • Oct 2007
    • 297

    #2
    u want bind data to gridview for Windows application

    Comment

    Working...