摘要:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ...
阅读全文
摘要:1 public class CheckIP 2 { 3 #region 获取浏览器版本号 4 5 /// 6 /// 获取浏览器版本号 7 /// 8 /// 9 ...
阅读全文
摘要:1 --将字符串中从某个字符开始截取一段字符,然后将另外一个字符串插入此处 2 select stuff('hi,world!',4,4,'****') --返回值hel****orld! 3 --返回从指定位置开始指定长度的字符串 4 select substring('Hel...
阅读全文
摘要:Javascript刷新页面的几种方法:1 history.go(0)2 location.reload()3 location=location4 location.assign(location)5 document.execCommand(‘Refresh‘)6 window.navigate...
阅读全文
摘要:1 /// 2 /// 获取汉字的首字母和全拼 3 /// 4 public class ChineseCode 5 { 6 protected string _CnTxt; 7 protected string _...
阅读全文
摘要:1 /// 2 /// 获取汉字首字母(可包含多个汉字) 3 /// 4 /// 5 /// 6 public string GetChineseSpell(string strText) 7 { 8 int len ...
阅读全文
摘要:微软为了开发者实现国际化语言的互转,提供了Microsoft Visual Studio International Pack,这个扩展包里面有中文、日文、韩文、英语等各国语言包,并提供方法实现互转、获取拼音、获取字数、甚至获取笔画数等等。首先,下载Microsoft Visual Studio I...
阅读全文
摘要:数字 (Range.NumberFormatlocal属性)常规Range.NumberFormatlocal="G/通用格式"数值Range.NumberFormatlocal="0.000_"--保留小数位数为3Range.NumberFormatlocal="0"--不要小数Range.Nu...
阅读全文