10 2013 档案

摘要:好不容易找了一个VS2013_RTM_ULT_CHS来安装好,Key:BWG7X-J98B3-W34RT-33B3R-JVYW9兴高采烈的打开vs2013,新建web项目,结果弹出一个错误:傻眼了,重启vs,重启电脑,都于事无补,不知道差个什么文件......折腾中.......终于找到差什么了:第一步:工具->点击“扩展和更新”第二步:联机 搜索NuGet 找到NuGet Package Manager for Visual Studio 2013 猛击“下载”安装好后,重启vs2013,新建web项目,哈哈,终于大功告成!! 阅读全文
posted @ 2013-10-31 16:06 yuejin 阅读(1372) 评论(1) 推荐(1) 编辑
摘要:DirectoryEntry root = new DirectoryEntry(@"IIS://localhost/W3SVC");string PInfo = ""; foreach (string elmentName in root.Properties.PropertyNames){ PropertyValueCollection valueCollection = root.Properties[elmentName]; for (int i = 0; i < valueCollection.Count; i++) { PInfo += 阅读全文
posted @ 2013-10-24 16:23 yuejin 阅读(703) 评论(0) 推荐(0) 编辑
摘要:DirectoryEntry root = new DirectoryEntry(@"IIS://localhost/W3SVC");string PInfo = ""; foreach (string elmentName in root.Properties.PropertyNames){ PropertyValueCollection valueCollection = root.Properties[elmentName]; for (int i = 0; i < valueCollection.Count; i++) { PInfo += 阅读全文
posted @ 2013-10-24 16:19 yuejin 阅读(1904) 评论(0) 推荐(0) 编辑
摘要:使用互斥体Mutex类型using System.Threading;//声明互斥体Mutex mutex = new Mutex(false, "ThisShouldOnlyRunOnce");//判断互斥体是否使用中bool Running = !mutex.WaitOne(0, false);if (!Running) Application.Run(new Form1());else MessageBox.Show("应用程序已经启动!"); 阅读全文
posted @ 2013-10-24 15:26 yuejin 阅读(388) 评论(0) 推荐(0) 编辑
摘要:当打开IIS管理器,或配置网站时提示错误:配置文件的XML格式不正确且是applicationHost.config的问题,那么肯定是applicationHost.config被破坏,IIS就崩溃。解决办法就是恢复applicationHost.config先检查C:\Windows\System32\inetsrv\config目录下的applicationHost.config文件,最好备份一份使用IIS提供的AppCmd.exe的restore功能恢复applicationHost.config运行命令提示符 键入 cd %windir%\system32\inetsrv,然后按 En 阅读全文
posted @ 2013-10-24 10:49 yuejin 阅读(29652) 评论(2) 推荐(3) 编辑
摘要:格式字符串采用以下形式:Axx,其中 A 为格式说明符,指定格式化类型,xx 为精度说明符,控制格式化输出的有效位数或小数位数。格式说明符 说明 示例 输出C 货币 2.5.ToString("C") ¥2.50D 十进制数 25.ToString("D5") 00025E 科学型 25000.ToString("E") 2.500000E+005F 固定点 25.ToString("F2") 25.00 G 常规 2.5.ToString("G") 2.5N 数字 2500000.ToStri 阅读全文
posted @ 2013-10-18 17:38 yuejin 阅读(10256) 评论(0) 推荐(0) 编辑
摘要:设置编辑所有行:操作步骤:打开数据库-〉工具-〉选项-〉sqlserver对象资源管理器-〉命令 把200改为0,即可编辑所有行了 阅读全文
posted @ 2013-10-09 23:32 yuejin 阅读(5436) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示