in my query ms access database not updated.
here is my code
cn.Open();
OleDbCommand cmd = new OleDbCommand("update GENERALBILLING set due=@due where invoicenumber=@invoicenumber", cn);
cmd.Parameters.AddWithValue("@due", due);
cmd.Parameters.AddWithValue("@invoicenumber", invoicenumber);
cmd.ExecuteNonQuery();
cn.Close();
Here invoicenumber is auto increament primary key
Loading

Sanjeeb LenkaPosted Sep 6, 2013, 7:52 AM
plz provide what exception you are getting. and mention in which line.
Abhishek JainPosted Sep 6, 2013, 7:11 AM
Regards
AJ