ADOU-V

导航

12 2015 档案

log4net 配置
摘要:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ... 阅读全文

posted @ 2015-12-26 00:40 a-dou 阅读(152) 评论(0) 推荐(0)

asp.net 获取客户端浏览器,ip地址,操作系统信息
摘要:1 public class CheckIP 2 { 3 #region 获取浏览器版本号 4 5 /// 6 /// 获取浏览器版本号 7 /// 8 /// 9 ... 阅读全文

posted @ 2015-12-26 00:38 a-dou 阅读(803) 评论(0) 推荐(0)

sql 获取字符串长度SQL字符串操作汇总
摘要:1 --将字符串中从某个字符开始截取一段字符,然后将另外一个字符串插入此处 2 select stuff('hi,world!',4,4,'****') --返回值hel****orld! 3 --返回从指定位置开始指定长度的字符串 4 select substring('Hel... 阅读全文

posted @ 2015-12-18 13:48 a-dou 阅读(4375) 评论(0) 推荐(0)

JS刷新页面的几种方法
摘要:Javascript刷新页面的几种方法:1 history.go(0)2 location.reload()3 location=location4 location.assign(location)5 document.execCommand(‘Refresh‘)6 window.navigate... 阅读全文

posted @ 2015-12-18 10:32 a-dou 阅读(340) 评论(0) 推荐(0)

Asp.net 将中文汉字转换成拼音首字和拼音全拼
摘要:1 /// 2 /// 获取汉字的首字母和全拼 3 /// 4 public class ChineseCode 5 { 6 protected string _CnTxt; 7 protected string _... 阅读全文

posted @ 2015-12-15 10:32 a-dou 阅读(1388) 评论(0) 推荐(0)

ASP.NET获取汉字首字母
摘要:1 /// 2 /// 获取汉字首字母(可包含多个汉字) 3 /// 4 /// 5 /// 6 public string GetChineseSpell(string strText) 7 { 8 int len ... 阅读全文

posted @ 2015-12-15 10:31 a-dou 阅读(560) 评论(0) 推荐(0)

ASP.NET汉字转拼音 - 输入汉字获取其拼音的具体实现
摘要:微软为了开发者实现国际化语言的互转,提供了Microsoft Visual Studio International Pack,这个扩展包里面有中文、日文、韩文、英语等各国语言包,并提供方法实现互转、获取拼音、获取字数、甚至获取笔画数等等。首先,下载Microsoft Visual Studio I... 阅读全文

posted @ 2015-12-15 10:29 a-dou 阅读(819) 评论(0) 推荐(0)

asp.net设置excel单元格格式
摘要:数字 (Range.NumberFormatlocal属性)常规Range.NumberFormatlocal="G/通用格式"数值Range.NumberFormatlocal="0.000_"--保留小数位数为3Range.NumberFormatlocal="0"--不要小数Range.Nu... 阅读全文

posted @ 2015-12-09 14:07 a-dou 阅读(780) 评论(0) 推荐(0)