Hi,
I'm trying to update my database from my datagrid, the user inputs the data at run time into the datagrid.
I have a button (Add) to update the database and i'm trying to use the command
DishDA.update(DishDS,"Dishes")
However, i keep getting this error
"Update requires a valid InsertCommand when passed DataRow collection with new rows."
Any help will be very much appreciated. Thanks
I'm trying to update my database from my datagrid, the user inputs the data at run time into the datagrid.
I have a button (Add) to update the database and i'm trying to use the command
DishDA.update(DishDS,"Dishes")
However, i keep getting this error
"Update requires a valid InsertCommand when passed DataRow collection with new rows."
Any help will be very much appreciated. Thanks