data grid problem

hi
  i am working in dot net framwork using asp.net and vb.net . plz any body tell me that how i handle my data grid in asp.net using vb.net.


Regards,

Ali Rizwan (Web Developer)
Aztek Computers
http://www.aztekcomputers.com




Answer this question

data grid problem

  • johnallengreen

    Hi,


    Well, all you have to do is bind your DataGrid to a DataSource.


    eg:

    '' Assuming you already know how to use ADO.Net
    '' Connecto to your database using a Connection object
    '' Create a DataAdapter and use the Fill method to populate a DataSet

    dataGrid1.DataSource = myDataSet
    dataGrid1.DataBind()



    cheers,


    Paul June A. Domag

  • data grid problem