摘要: View Code public int ExecuteSql(List<string> listsql) { OleDbCommand command = null; try { Open(); command.Connection = conn; command.Transaction = conn.BeginTransaction(); int i=0; foreach (string sql in listsql) { command.CommandText = sql; i += command.ExecuteNonQuery(); } command.Transact 阅读全文
posted @ 2011-05-13 18:46 焚情、烈日 阅读(959) 评论(0) 推荐(0) 编辑