dataAdapter'rs command statements

  • Thread starter Thread starter MeDhanush
  • Start date Start date
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
 
Hi Kishore,

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

HTH,

Bernie Yaeger
 
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?
 
Back
Top