Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Recreate dataview/datatable/dataset from Datagrid

Thread Tools

Recreate dataview/datatable/dataset from Datagrid

Zachary Heilman
Posts: n/a
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?).
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to manually recreate Session state with session cookie? Johndoe ASP .Net 1 04-13-2006 08:32 AM
How recreate "registry.dat" file? Martin Leese Firefox 7 08-01-2005 12:41 PM
Recreate Outlook Web Access 2003 Look and Feel kevinsaucier ASP .Net 0 05-12-2005 03:29 AM
Recreate msdn drill down look and feel Mark ASP .Net 2 02-23-2004 09:37 PM
Re: how to recreate the default ASPNET account ? Carl Prothman [MVP] ASP .Net 0 08-09-2003 06:47 AM