for (int i = 0; i < purchaseListView.Items.Count; i++) { Connection con = new Connection(); SqlCommand cmd = new SqlCommand(); SqlCommand cmdFifo = new SqlCommand(); con.OpenConnection(); cmd.Connection = con.DataBaseConnection; cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "insertDetail"; cmdFifo.Connection = con.DataBaseConnection; cmdFifo.CommandType = CommandType.StoredProcedure; cmdFifo.CommandText = "insertInToMain";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)