摘要:C# codeSqlCommand sqlCmd = new SqlCommand();sqlCmd.Connection = sqlCnn;sqlCmd.Transaction = sqlCnn.BeginTransaction(); //完成事务处理的前期准备工作try{//将用户注册的数据写入数据库string sqlCmd1 = "insert into User_Login (user_...
阅读全文
posted @ 2010-05-18 11:00