我是通过C#插入数据的,每次400条,用了一个循环,如下:(怎么办)
for (int i = 0; i < myDataTable.Rows.Count; i++)
{
cmd.CommandText = "Insert into datas(wavelength,t) Values('" + myDataTable.Rows[i][0].ToString() + "','" + myDataTable.Rows[i][1].ToString() + "')";//将数据一行行插入sql
int q = cmd.ExecuteNonQuery();
}