Hi,

Do you know how to use the DeleteCommand property of SqlDataAdapter? I can use the UpdateCommand and InsertCommand as below:

Dim dscommand as SqlDataAdapter

dscommand.InsertCommand = GetInsertCommand() ' the funcion get the store procedure
dscommand.Update(Customer,CustomerData.CUSTTOMERS_TABLE)

But I write

dscommand.DeleteCommand = GetDeleteCommand()
dscommand.Update(Customer,CustomerData.CUSTTOMERS_TABLE)

It didn't work well.

Could you please tell me something about this

Thank you,

Trung Luu