|
-
Nov 24th, 2005, 03:47 AM
#1
Thread Starter
New Member
Update the whole table, is it possible ?
I have a dataTable and now i want to update the whole table to database instead of updating each row
Is there any way to do it ?
thx in advance
-
Nov 24th, 2005, 04:09 AM
#2
Re: Update the whole table, is it possible ?
You need to assign Command objects, with the appropriate SQL code in their CommandText properties, to the DeleteCommand, InsertCommand and UpdateCommand properties of a DataAdapter and then call its Update method. There is plenty of ADO.NET information available on MSDN, from the tutorial links in my signature, in the 101 samples and from many other sources. I suggest you roll your sleeves up and do some reading.
-
Nov 24th, 2005, 10:12 AM
#3
Re: Update the whole table, is it possible ?
Isn't updating the whole table updating it row by row anyways?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|