Simple question? Updating database...

  • Thread starter Thread starter Test Person
  • Start date Start date
T

Test Person

Hi

I'm having trouble with updating my database which is SqlServer. I'm using
the update command
and only the dataset is being changed not the actual row in the database.



Best Regards

Maria Hammarsten
 
Maria,
I'm having trouble with updating my database which is SqlServer. I'm using
the update command
and only the dataset is being changed not the actual row in the database.
Than there is something wrong I think, however do you want some help, than
we have to know how you do that updating, a piece of code is mostly telling
the most.

:-)

Cor
 
Hello,
here is a piece of the code.


private void CmdUpdate_Click(object sender, System.EventArgs e)

{

this.sqlDataAdapter1.Update(this.dsCustomers1.Customers);

}



Maria
 

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

Back
Top