level 4
string insert = string.Format("insert into 出库记录(ID,出库ID,物资ID,出库数量) values('{0}','{1}','{2}','{3}')", chukujl, chukuid, dataGridView6.Rows[i].Cells["dataGridViewTextBoxColumn17"].Value, dataGridView6.Rows[i].Cells["领用数量"].Value);
try
{
SqlCommand command1 = new SqlCommand(insert, DBhelper.connection);
DBhelper.connection.Open();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
finally
{
DBhelper.connection.Close();
}
2015年05月16日 08点05分





