.net重启iis线程池和iis站点程序代码【转】
摘要:转:http://www.jb51.net/article/44162.htm 重启站点: 复制代码代码如下: /// <summary> /// 根据名字重启站点.(没重启线程池) /// </summary> /// <param name="sitename"></param> static
阅读全文
posted @
2016-02-26 16:45
dm3344
阅读(557)
推荐(0) 编辑
c# 清空txt文本文件的值
摘要:FileStream fs1 = null; try { fs1 = new FileStream(@"C:\db.txt", FileMode.Truncate, FileAccess.ReadWrite); } catch (Exception ex) { } finally { fs1.Clo
阅读全文
posted @
2016-02-25 17:03
dm3344
阅读(3761)
推荐(0) 编辑
c# winform 读取图片列表
摘要:PropertyInfo[] poroInfo = typeof(Resources).GetProperties(System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static); poroInfo
阅读全文
posted @
2016-02-25 16:22
dm3344
阅读(1691)
推荐(1) 编辑
C# 枚举显示中文
摘要:转自:http://www.cnblogs.com/yank/archive/2011/09/08/EnumDisplayInChinese.html using System; using System.ComponentModel; public enum TimeOfDay { [Descri
阅读全文
posted @
2016-02-23 14:20
dm3344
阅读(1831)
推荐(1) 编辑
onenote网页版如何打开链接弄到客户端
摘要:1、网页登录https://onedrive.live.com 2、登录MS帐号 3、输入复制的分享链接,回车 4、点击编辑,在客户端编辑,弹出是否启动应用,点启动,等一段时间完成。
阅读全文
posted @
2016-02-18 16:45
dm3344
阅读(2303)
推荐(0) 编辑