Check here

santhosh kapa replied to touseef ahmed at 12-May-08 12:05

I suppose you are looking for the actual flow among datatable, dataset, Dataview and Datagrid..

whenever, you need to fetch data and show in the data to the user, this is the normal flow..

1) First establish a connection to the database from which data is to be retrieved

2) Open the connection and use either DataAdapter or Datareader to read the data from the Database with the opened connection.

3) Store the data into Dataset which is the local cache of the actual Database fetched

4) Optionally Dataview can be created for this data which is in Dataset( which is literally collection of tables or a single table)

5) Assign either Dataview or a Datatable directly to the source of the Datagrid

You can see in MSDN for more in detail..

check this how to work dynamically with the above said

http://www.codeproject.com/KB/aspnet/dynamicdataoperations.aspx


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  datagrid or dataview send the data to dataset or datatable.. - touseef ahmed  12-May-08 03:55 3:55:39 AM
      Use the DataTable as the DataSource. - Peter Bromberg  11-May-08 05:05 5:05:30 PM
      Bind Datagrid - sundar k  11-May-08 10:50 10:50:59 PM
      DataGrid sending data - Sanjay Verma  11-May-08 11:53 11:53:50 PM
      Check here - santhosh kapa  12-May-08 12:05 12:05:35 AM
      Try This - Sujit Patil  12-May-08 12:26 12:26:53 AM
      Check this - Chirag Bhavsar  12-May-08 12:57 12:57:58 AM
      Have a look at this - chakradhar koturu  12-May-08 01:09 1:09:29 AM
View Posts