cmd.CommandType = CommandType.Text; cmd.Connection = sqlcon; cmd = new SqlCommand("update TBL_InvoicContent set pid='" + txtpid.Text + "',remainder='" + txtremainder.Text + "' where id_invoice= " + txtidincon.Text + " and fk_id_product = " + txtidItems.Text + " ", sqlcon); sqlcon.Open(); cmd.ExecuteNonQuery(); MessageBox.Show("Edited"); sqlcon.Close();
DataGridView
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)