IT点滴

我不去想是否能够成功 既然选择了远方 便只顾风雨兼程
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

2013年12月13日

摘要: SqlDataAdapter怎么处理事务呢,没找到相关代码,哪位朋友能提供下解决方案 »this._DBAdpt-------------SqlDataAdapterthis._DBConn-------------SqlDataConnection//事务开始this._DBAdpt.InsertCommand.Transaction=this._DBConn.BeginTransaction();//事务回滚this._DBAdpt.InsertCommand.Transaction.Rollback();//事务提交this._DBAdpt.InsertCommand.Tran 阅读全文

posted @ 2013-12-13 17:59 Ady Lee 阅读(1071) 评论(0) 推荐(0) 编辑