dataAdapter'rs command statements

M

MeDhanush

Do I need to fill all the 3 commands ( InsertCommand, DeleteCommand
and UpdateCommand), even though I'm using only one of them ?
Like if I wants to update records in db, I'm sure that I have to
assign the UpdateCommand, in this scenario, do I need to assign the
Insert and Delete statements also ?

TIA
Kishore
 
B

Bernie Yaeger

Hi Kishore,

No, you need only the command that you will be using.

HTH,

Bernie Yaeger
 
J

Jeff Brown

If you are not going to use them then no you should not have to have them,
but you can set the programtically in your code at any time i believe.
Are you getting errors or are you just curious?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top