Hi,
If i retreive data to teh dataset using SQLDataAdapter we call teh Fill() of the data adapter.
If i update then i should call update() from the dataadapter
if i delete then i should call delete() fromthe dataadapter.
What method of Dataadapter should i call to insert a record to teh dataset?
cheers

1 answers
The SqlDataAdapter class doesn't have a Delete() method.
Instead, the Update() method is used to write any insertions, modifications or deletions that have been made to the DataSet back to the database.
You might find it useful to read the <a target="_new" href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx">MSDN documentation</a> for this class.
answered 2 years ago by:
17279
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!