摘要: wpf程序 在App.xaml中增加如下代码 1 DispatcherUnhandledException="Application_DispatcherUnhandledException" 完成代码如下: 在App.xaml.cs中增加如下代码 阅读全文
posted @ 2017-12-02 10:33 pop1234ggg 阅读(205) 评论(0) 推荐(0)
摘要: 1 using (TransactionScope ts = new TransactionScope()) 2 { 3 //dal.Insert(Sql2); 4 //dal.Insert(Sql3); 5 //事务,只有Sql2,Sql3这两条SQL... 阅读全文
posted @ 2017-12-02 10:23 pop1234ggg 阅读(100) 评论(0) 推荐(0)