摘要:
阅读全文
摘要:
c# asp.net 生成唯一订单号string OrderNo = DateTime.Now.Year.ToString().Substring(2, 2) + DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Day.ToS... 阅读全文
摘要:
c# 关闭软件 进程 杀死进程 foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcessesByName("Server")) { ... 阅读全文
摘要:
国内开源软件镜像地址搜集http://mirrors.aliyun.com/ 【阿里】http://mirrors.aliyuncs.com/ 【阿里云ECS内网专用】http://mirrors.163.com/ 【网易】http://mirrors.sohu.com/ 【搜狐】http://mi... 阅读全文
摘要:
C# string类型和byte[]类型相互转换string类型转成byte[]:byte[] byteArray = System.Text.Encoding.Default.GetBytes ( str );byte[]转成string:string str = System.Text.Enco... 阅读全文
摘要:
linux 软件连接ln -s /www/wdlinux/apache_php-5.2.17/bin/php php 阅读全文
摘要:
单个文件上传至服务器#region 单个文件上传至服务器/// /// 单个文件上传至服务器/// /// 接收文件资源的URI, 例如: http://xxxx/Upload.aspx?UID=11111/// 要发送的资源文件, 例如: @"D:\workspace\WebService 相关.... 阅读全文
摘要:
"北京","天津","上海","重庆","江苏","浙江","安徽","江西","福建","湖北","湖南","四川","贵州","云南","广东","海南","甘肃","青海","内蒙古","新疆" 阅读全文
摘要:
选择 COM 选项卡并选择 Windows Script Host Object ModelCode:WshShell shell = new WshShell();IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut("C:\\Pro... 阅读全文
摘要:
要屏蔽电话号码中间段,首先要知道电话号码的正则表达式。先来看看PHP匹配电话号码的正则表达式。匹配固定电话的正则表达式为:/(0[0-9]{2,3}[\-]?[2-9][0-9]{6,7}[\-]?[0-9]?)/i匹配手机号码的正则表达式为:/(1[358]{1}[0-9]{9})/i要用一个表达... 阅读全文