|
-
Dec 30th, 2007, 09:17 PM
#7
Re: [2005] TableAdapter with Joined tables- Changes not captured
Well if the GetChanges method of your DataTable returns Nothing then it's got nothing to do with your DataAdapter at all. If the DataTable doesn't contain any changes then no DataAdapter or TableAdapter can possibly save any changes. You have to be updating the same DataTable that you have bound to your controls and you have to have made some changes to that table. You obviously haven't.
Also, why are you disposing the DataTable after trying to save the changes? You haven't finished with that DataTable. It's still part of your DataSet. You have finished with your DataAdapter and Connection but I notice you're not disposing them.
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
|