c# 将datatable数据批量添加到数据库
Class1 c1 = new Class1();public void pldr1(DataTable dt1,string s1) { //将dt1导入到指定表,s1为要目标表名,dt1为要导入的数据 if (c1.sqlcon1.State.ToString().Trim() == "Open")