摘要: 我刚才安装也是卡在这里,等了半个小时系统提示安装失败,提示我查看日志,然后我看了日志(日志路径:C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20170424_074105\Rsetup.log)之所以卡在这里,是应为后台 阅读全文
posted @ 2017-12-07 17:49 梦入神机 阅读(8851) 评论(0) 推荐(0) 编辑
摘要: 查看config的连接字符串 是否正确 阅读全文
posted @ 2017-12-04 11:31 梦入神机 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 首先在【控制面板】-【程序】-【启用或关闭Windows功能】中看到我们的Hyper-V前面的框是个方块,并不是个勾,这表明我们的Hyper-V功能并没有全部选用。但是没有选用的Hyper-V虚拟机监控程序却是灰色的(我这里是解决之后的图所以是黑色的),移过去却提示计算机虚拟化功能被禁用。这时我们的 阅读全文
posted @ 2017-12-04 09:52 梦入神机 阅读(8718) 评论(0) 推荐(0) 编辑
摘要: string oldimage = "/upload/16-09-12/0e2e7006a021444780a6eb4d7e83167c.png"; var index = oldimage.LastIndexOf("/"); string newimage = "M" + oldimage.Substring(index + 1);... 阅读全文
posted @ 2017-11-23 11:44 梦入神机 阅读(348) 评论(0) 推荐(0) 编辑
摘要: HTML Javascrip C# 阅读全文
posted @ 2017-11-16 15:02 梦入神机 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 在反射重载方法时,如果调用此重载方法,会产生发现不明确的匹配的错误。解决方案如下:GetMethod("MethodName", newType [] { typeof(参数类型)});其中type数组中的项的个数是由要调用的方法的参数个数来决定的。如果无参数,则new Type[]{},使Type... 阅读全文
posted @ 2014-12-25 15:44 梦入神机 阅读(201) 评论(0) 推荐(0) 编辑
摘要: C#中有一个非常方便的求百分数的方法就是试用 ToString("P")例:Math.PI.ToString("P");得到的结果是316.16%;两个int类型相除求百分比int a = 1234; int b = 56789; double r1 = (double)a / b; ... 阅读全文
posted @ 2014-11-26 15:19 梦入神机 阅读(147) 评论(0) 推荐(0) 编辑
摘要: WebClient webClick = new WebClient(); webClick.DownloadFile("http://bcs.duapp.com/myresumedemo/%E7%96%AF%E7%8B%82%E7%9A%84%E7%A8%8B%E5%BA%8F%E5%91%98.... 阅读全文
posted @ 2014-11-18 15:14 梦入神机 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1 string a = "33*33";2 string[] strarr = a.Split('*');3 int[] intarr = new int[strarr.Length];4 for (int i = 0; i < strarr.Length; i++)5 {6 intarr... 阅读全文
posted @ 2014-11-17 14:14 梦入神机 阅读(561) 评论(0) 推荐(0) 编辑
摘要: private void Form1_Load(object sender, EventArgs e) { var toolTip1 = new ToolTip(); toolTip1.AutoPopDelay = 10000; toolTip1.InitialDelay = 500; toolTi... 阅读全文
posted @ 2014-11-12 15:24 梦入神机 阅读(605) 评论(0) 推荐(0) 编辑