how to get dataset back from datagrid?

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
 
C

ClayB [Syncfusion]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top