会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
pop1234ggg
博客园
首页
新随笔
联系
管理
订阅
2017年12月19日
VMware10安装Ubuntu14.04设置完成后一直黑屏进入不了安装
摘要: 解决方法一:关闭Ubuntu(注意是关闭,不是挂起,只是挂起的话,加速3D图形选项不能勾选);依次选择虚拟机->设置->显示器,然后把加速3D图形选项的勾点掉。 解决方法二: 管理员模式运行CMD, netsh winsock reset然后重启电脑!
阅读全文
posted @ 2017-12-19 23:11 pop1234ggg
阅读(5344)
评论(0)
推荐(0)
编辑
2017年12月4日
Ubuntu常用命令
摘要: deb安装格式 命令格式如下:$ sudo dpkg -i <package.deb> 常用的Linux命令的基本使用 命令 作用ls 查看当前文件夹下的内容pwd 查看当前所在文件夹cd 切换文件夹touch 如果文件不存在,新建文件mkdir 创建目录rm 删除指定的文件名clear 清屏 小技
阅读全文
posted @ 2017-12-04 15:55 pop1234ggg
阅读(232)
评论(0)
推荐(0)
编辑
2017年12月2日
全局程序异常处理
摘要: wpf程序 在App.xaml中增加如下代码 1 DispatcherUnhandledException="Application_DispatcherUnhandledException" 完成代码如下: 在App.xaml.cs中增加如下代码
阅读全文
posted @ 2017-12-02 10:33 pop1234ggg
阅读(195)
评论(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
阅读(96)
评论(0)
推荐(0)
编辑
2017年11月24日
动态显示图片
摘要: 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
阅读(249)
评论(0)
推荐(0)
编辑
2017年11月16日
SqlHelper
摘要: 1 class SqlHelper 2 { 3 private static string connStr = ConfigurationManager.ConnectionStrings["dbConnStr"].ConnectionString; 4 public static int ExecuteNonQuery(string sq...
阅读全文
posted @ 2017-11-16 20:51 pop1234ggg
阅读(162)
评论(0)
推荐(0)
编辑
App.config接字符串放到配置文件中
摘要: 1 2 3 4 5 1 string connStr = ConfigurationManager.ConnectionStrings["dbConnStr"].ConnectionString; 2 using (SqlConnection conn = new SqlConnection(connStr))
阅读全文
posted @ 2017-11-16 17:27 pop1234ggg
阅读(97)
评论(0)
推荐(0)
编辑
DataSet离线数据集
摘要: 1 using (SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=StudentDB;User ID=sa;Password=123456")) 2 { 3 conn.Open(); 4 ...
阅读全文
posted @ 2017-11-16 11:30 pop1234ggg
阅读(343)
评论(0)
推荐(0)
编辑
2014年3月5日
运算符优先级
摘要:
阅读全文
posted @ 2014-03-05 12:04 pop1234ggg
阅读(240)
评论(0)
推荐(0)
编辑
公告