Recreate dataview/datatable/dataset from Datagrid

Discussion in 'ASP .Net Datagrid Control' started by Zachary Heilman, Oct 23, 2003.

  1. I've loaded a text file to a dataset and then bound it to a Datagrid.
    There isn't much data, but there are two related tables in the file.
    Instead of repopulating the dataset and comparing changes to the
    datagrid I would like to keep it disconnected and just repopulate a
    datatable from the Datagrid post back's viewstate. I've come up with
    several options, but none are too good. I'm using a strong typed
    dataset to populate the Datagrid and I would like to repopulate it
    with the datagrid data on postback. However, I am trying not to use a
    session variable of the Dataset. Can anyone post an example of
    recreating a dataview/datatable from the datagrid postback (maybe
    using enumeration and looping through the grid?).
    Zachary Heilman, Oct 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nedu N
    Replies:
    1
    Views:
    1,791
    Chris Taylor
    Oct 31, 2003
  2. Nedu N
    Replies:
    2
    Views:
    2,150
  3. =?Utf-8?B?Tmljaw==?=
    Replies:
    6
    Views:
    25,033
    =?Utf-8?B?Tmljaw==?=
    Jul 19, 2006
  4. CodeMonkey
    Replies:
    1
    Views:
    725
    joyal jhaveri
    Feb 4, 2011
  5. Nedu N
    Replies:
    2
    Views:
    218
    Jacob Yang [MSFT]
    Oct 31, 2003
Loading...

Share This Page