Click to See Complete Forum and Search --> : AdO.Net Resync
Bombdrop
Sep 24th, 2003, 12:12 PM
Hi trying to get my head round Ado.Net and was woundering how to perform a Resync like in the Good old days of ADO 2.X.
Any help please!!!!!:)
Bombdrop
Oct 2nd, 2003, 11:05 AM
Hi can any one help me are am I'm just talking rubbish???
hellswraith
Oct 5th, 2003, 10:26 AM
You need to give me more information than than in order for me to help you. I never did resyncing in old ado. The good news is I can help you with ado.net pretty well.
My guess that your question is you have a data adapter you fill a dataset with. After changes are made to the dataset, you want to update, delete, or insert data to the database based on what happened to the dataset....is this it? If so, it is the easiest way to open up the server explorer window and drag your table over to the designer. This will create a connection object, a dataadapter object, and a dataset object. Your insert, update, delete and select statements will already be created for you.
Bombdrop
Oct 6th, 2003, 12:29 PM
Hi Hellswraith,
In good old ADo 2.X the Resync was used when opperating in a disconected enviroment ( which as i understand ADO.Net is) . Well basically the Resync allows yo to see if the data you have modified in your recordset has been modifiyed by another user at the database level. I hope this make some Scene
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.