Hello,
I have read a lot of the theards and post regarding the subject of inserting, updateing and deleteing rows in a database using the OleDb.OleDbDataAdapter.
If somebody could give me a good explanations how the the
OleDb.DataAdapter.InsertCommand
OleDb.DataAdapter.UpdateCommand
OleDb.DataAdapter.DeleteCommand
OleDb.DataAdapter.SelectCommand
work I would be most greatful.
Problems Im having today is that I dont really know how they work together. As they have to be set seperatly but I guess they are all bound to the same DataAdapter?
Also if I create a Public decleard DataAdapter and call on it to perform different operation is this the correct way of doing this. Or should I declear the DataAdapter is each Sub?
What information is needed for each command and how you create them. I do NOT want to use the command builder I want to know how to set these 4 properties myself.
Any feedback is appriciated, I am very green so please be patient.
Thank You,
Claudio
I have read a lot of the theards and post regarding the subject of inserting, updateing and deleteing rows in a database using the OleDb.OleDbDataAdapter.
If somebody could give me a good explanations how the the
OleDb.DataAdapter.InsertCommand
OleDb.DataAdapter.UpdateCommand
OleDb.DataAdapter.DeleteCommand
OleDb.DataAdapter.SelectCommand
work I would be most greatful.
Problems Im having today is that I dont really know how they work together. As they have to be set seperatly but I guess they are all bound to the same DataAdapter?
Also if I create a Public decleard DataAdapter and call on it to perform different operation is this the correct way of doing this. Or should I declear the DataAdapter is each Sub?
What information is needed for each command and how you create them. I do NOT want to use the command builder I want to know how to set these 4 properties myself.
Any feedback is appriciated, I am very green so please be patient.
Thank You,
Claudio