Hi Experts,
I have a dataset that is populated from a stored procedure.
There are textboxes that are filled in with the data. So far so good.
When the textboxes are changed I have a save Button that Called the Update command of the dataadapter
daFillBillTo.Update(DsCust
BillTo1, "CustBillTo")
When I do this I get an error
"Update requires a valid Insert Command when passed DataRow collection with new rows"
It sounds like there is a new row in my dataset. The stored procedure returned 1 record.
I put a data grid on my page a bonded it to the dataset to see how many rows there were ,and there were only one row
I do not have a insert command in my dataadapter. I am not adding a row just updating for now
Any help would be great
John
Start Free Trial