Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
860
Updating te fields of an appointment programatically
posted

I have an CalendarInfo that is bound to a DataSet and I am using standard VS2005 Data Binding to create the adapters.

I need to update a few fields of the appointment programtaically, which I do by changing the members of the appropriate Appointment object. However I sometimes find that when I call the adapter Update method, I get a DBConcurrencyException because no rows have been updated. THis leads me to think the problem is that, changing the first member triggers an update , so that when I change the second member the updat eis being rejected since the database field no longe rmatches the original value for the field. Is there any way to suppress the notifivation of the rows changing or do I have to do do it externally.

Thanks

Pat