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

Re: dataAdapter'rs command statements by Bernie

Bernie
Tue Sep 16 22:35:05 CDT 2003

Hi Kishore,

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

HTH,

Bernie Yaeger
"MeDhanush" <medhanush@yahoo.com> wrote in message
news:15e9d0f4.0309161212.506cd286@posting.google.com...
> 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



Re: dataAdapter'rs command statements by Jeff

Jeff
Tue Sep 16 23:30:06 CDT 2003

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?


"MeDhanush" <medhanush@yahoo.com> wrote in message
news:15e9d0f4.0309161212.506cd286@posting.google.com...
> 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