SQL Commands Not Working

G

Guest

As I am using a datagridview based on a view in my SQL database. The default
update() command isnt created and hence, I am currently using insert and
update commands thru the dataset wizard.

However, none of the insert or update SQL commands seem to work for me. No
errors are provided but yet nothing is inserted into the database. Does
anyone knows how to solve this?
 
N

Nicholas Paldino [.NET/C# MVP]

Airkon,

Are you making calls to the data adapter which is generated for you,
passing the data source of the grid? Also, are you sure you are making
changes to the grid which is updating the underlying data source (the row
state of the data table has to be changed in order for the data adapter to
be aware that something should be updated).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top