I am using a dataset connectet to an access db (for testing). The way in which i process updates and deletes is to send the sql to the db (using executenonquery) and update the datarow in the dataset. it works great! my only problem is that when i process an insert (the sql works great) i don't know how to update the dataset. i need the key (db autonumber) in order to process other functions, and to make the insterted row visible to the user immediately.
i seem to remember reading (a long time ago) about a way to tell a dataset to go and get any changes. this would be ideal since the db is going to be used by several users at once, and i can get the changes that others make as well. can anyone tell me how to do this?
thanks,
hayt
PS - i give Stars!
i seem to remember reading (a long time ago) about a way to tell a dataset to go and get any changes. this would be ideal since the db is going to be used by several users at once, and i can get the changes that others make as well. can anyone tell me how to do this?
thanks,
hayt
PS - i give Stars!