|
-
May 26th, 2004, 03:13 AM
#1
Simple ADO.NET questions - Part II
1. What does the Update method of the data adapter actually do? Does it make the changes in the database, or something else?
2. What is .AcceptChanges()?
3. My reason for asking question #1 is this:
When updating in the simple DB application I'm making, I need only to set the command object, its parameters, and UPDATE the data adapter.
When deleting, though, I have to actually perform a .ExecuteNonQuery in addition to the .Update() method.
Why this difference?
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
|