string strContName = GVcontacts.Rows[i].Cells[0].Value.ToString(); string strContNo1 = GVcontacts.Rows[i].Cells[1].Value.ToString(); string strContNo2 = GVcontacts.Rows[i].Cells[2].Value.ToString(); string strEmail = GVcontacts.Rows[i].Cells[3].Value.ToString(); string strFillSuppContacts = "Insert into supplier_contacts(supplier_code, Contact_Name, Contact_No1, Contact_No2, Email_ID)" + "values('"+lblCode.Text+"','" + strContName + "','" + strContNo1 + "','" + strContNo2 + "','" + strEmail + "')"; MySqlCommand cmdFillSuppContacts = new MySqlCommand(strFillSuppContacts, con); cmdFillSuppContacts.ExecuteNonQuery();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)