摘要: 这是使用批处理的一个例子: System.IO.StreamWriter messagelog = null; string messageString = ""; SqlConnection con = new SqlConnection(Sql... 阅读全文
posted @ 2013-08-14 11:20 王洪洪 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 这是使用批处理的一个例子:System.IO.StreamWriter messagelog = null; string messageString = ""; SqlConnection con = new SqlConnection(SqlHelper.ConnectionString); con.Open(); SqlTransaction st = con.BeginTransaction(); SqlBulkCopy sbc = new SqlBulkCopy(con, S... 阅读全文
posted @ 2013-08-14 11:17 王洪洪 阅读(383) 评论(0) 推荐(0) 编辑