how to get dataset back from datagrid?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Currently I had associated a dataset table to an datagrid. I am able to add a new row while adding.

Now I need to get back the associated dataset from datagrid when record is been edited.
I am using a pop form to edit row data.

I am trying to use Datagrid.Datasource which is only returning dataview.
Any clues how to do this?

Or Any other way to do this.

Thanks and Regards,
Sachi
 
The DataView has a Table property which is the DataTable for the DataView.
And DataTable has a DataSet proeprty. So maybe this will give you what you
need.

DataSet ds = this.dataView1.Table.DataSet ;

=========================
Clay Burch, .NET MVP

Visit www.syncfusion.com for the coolest tools
 
Back
Top