Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database Not Updating
Message
From
06/01/2003 16:15:24
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00738492
Message ID:
00738550
Views:
21
And yet the 3rd row in the DataSet has been changed? Are you sure of that? What is it's RowState?



>Bonnie
>The problem not with the update, the database is updated in all cases, but the problem if I selected the 3rd row in the combobox and modefied it then save the changes, the 3rd row is not updated - the changed effected the 1st row !!
>
>And regarding AcceptChanges Iam not using it
>
>any idea?
>
>
>
>>How are you updating your database? If you see the changes in the DataSet, then your ComboBox must be working right. I have the feeling you're probably doing an ds.AcceptChanges() before your da.Update() or something along those lines ....
>>
>>~~Bonnie
>>
>>
>>
>>>Hi,
>>>
>>>I am using a ComboBox in my application and binding it to the DataSet and CommandBuilder, when I select a record then change it, if it's the first it accept changes, if not, I see the changes only in the dataset but the database not updated.
>>>
>>>Any idea what Iam missing?
>>>
>>>Thanks for the help
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform