DataSet ds = new DataSet();
ds.Columns...
DataView dv = new DataView( ds.Tables[0] );
DataGrid grid = new DataGrid();
grid.DataSource = dv;
//Cast as DataView
DataView _newDV = (DataView) grid.DataSource
Bobby Ryzhy
bobby@ name of domain below
http://www.weekendtech.net
On Wed, 7 Jul 2004 08:52:52 +1200, "martin"
<St**************@yahoo.com> wrote:
Hi,
Is there an easy way , maybe a cast or something to place all of the items
from a datagrid into a dataset.
Sort of the opposite of binding a datatable to a datagrid.
any help is appreciated.
cheers
martin