sqlhelper 实现回滚事务
摘要:
SqlConnection con = new SqlConnection(SqlHelper.yfConString);con.Open();SqlTransaction tran = con.BeginTransaction();try{SqlHelper.ExecuteNonQuery(tran, CommandType.Text, sb.ToString(), par);SqlHelper.ExecuteNonQuery(tran, CommandType.Text, sb1.ToString(), par);SqlHelper.ExecuteNonQuery(tran, Comman 阅读全文
posted @ 2011-01-11 16:51 AlexGeng 阅读(1804) 评论(0) 推荐(0) 编辑