ADO.Net Update

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

Guest

Hi all,
I need to execute sql statements against a "DataTable" not the database.
For example i need to update certain rows.
One possible way was to use select rows and then loop through and update.

is there a better way,

Help appreciated

Thanks

AR
 
Abdul,

A datatable is not a database. Therefore you cannot use a select quiry
string.

Although that the datatable has the posibility to use the
Datatable.Select
Dataview.rowfilter
Datarowcollection.find
Dataview.find

Have a look at MSDN for this methods.

I hope this helps?

Cor
 
Back
Top