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
 
Back
Top