随笔分类 -  C# 4

摘要: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 阅读(110) 评论(0) 推荐(0)
摘要:1 OpenFileDialog ofd = new OpenFileDialog(); 2 ofd.Filter = "JPG|*.jpg|PNG|*.png|所有文件|*.*"; 3 if (ofd.ShowDialog() == true) 4 { 5 image... 阅读全文
posted @ 2017-11-24 21:20 pop1234ggg 阅读(295) 评论(0) 推荐(0)