Discussion:
How to get the datasource from a datagrid
(too old to reply)
Pkenty
2004-09-18 09:13:03 UTC
Permalink
Hi, im trying to get the datasource from a datagrid to in order to make
changes to the dataset before rebinding it back to the datagrid...

how can i get the dataset?
Scott M.
2004-09-18 21:37:50 UTC
Permalink
When you know that the grid's datasource is a datagrid, you can write:

Dim x as Dataset = Ctype(DataGrid.DataSource,DataSet)
Post by Pkenty
Hi, im trying to get the datasource from a datagrid to in order to make
changes to the dataset before rebinding it back to the datagrid...
how can i get the dataset?
Continue reading on narkive:
Loading...