OleDbCommand cm = new OleDbCommand("update Count1 set Count1.Cot=(select sum(temp.Qty) from temp where temp.Itemcode=" + re11[0].ToString() + ") where Count1.ItemCode="+re11[0].ToString()+"", con); cm.ExecuteNonQuery();
Operation must use an updateable query
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)