Exception in UpdateCommand

  • Thread starter Thread starter Ronny
  • Start date Start date
R

Ronny

I managed to work with DataAdapter.SelectCommand and read the datarows data
in my application. Now I need to add a row so I prepared InsertCommand and
UpdateCommand and followed the procedure indicated in may book but I get an
exception in the UpdateCaommand.
Is there any sample code of a C# doing that?
Regards
Ronny
 
Hi Ronny,

The best sample I can think of is using wizard - it'll generate the
appropriate code for you.
If you are doing CRUD over a data table then just open Server Explorer and
drag'n'drop table on the dataset.
 
Back
Top