Can anybody tell me what is wrong with this code??
ac = Request.QueryString["ac_no"];
OleDbCommand com = new OleDbCommand();
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|daksh.mdb;Persist Security Info=False;");
com.Connection = con;
com.Connection.Open();
com.CommandText = "UPDATE general set recover amount='" + total + "' WHERE ac no=ac";
com.ExecuteNonQuery();
con.Close();