Groups | Blog | Home
all groups > asp.net datagrid control > september 2005 >

asp.net datagrid control : Extracting Data from Datagrid


Joel Zinn
9/19/2005 9:15:23 AM
I have a developer that wants to dump data from a datagrid to an external
file. I am thinking a .csv file for simplicity sake. I had thought about
dumping the data from the dataset, but there is considerable morphing of the
data that occurs in the databind portion of the code. I know there are
issues with postback, paging, etc.

What is the best way to accomplish dumping the data from the datagrid.

Any help would be appreciated.

--
Joel Zinn
Sr IT Architect
American Electric Power

Brock Allen
9/19/2005 3:03:27 PM
I'd suggest gettng the data from the original data source and dumping from
that. The DataGrid in v1.1 is really a display mechanism.

-Brock
DevelopMentor
http://staff.develop.com/ballen

[quoted text, click to view]

Joel Zinn
9/21/2005 7:41:32 AM
I realize that about the grid. The problem is that the developer who is
requesting this has done some considerable modification on the data after
the dataset was created.

--
Joel Zinn
Sr IT Architect
American Electric Power
[quoted text, click to view]

AddThis Social Bookmark Button