摘要: 主系统:ubuntu14.04 LTS 虚拟机:VMware 内系统:Windows server 2008 r2 主系统IP:任何IP 内系统IP:192.168.202.128(自动获取,如果不是该IP,请更改成自动获取的IP) 虚拟网卡网关:192.168.202.0 VMware左上角依次点 阅读全文
posted @ 2018-07-26 17:37 欣宇 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 如果您觉得本文章对你有帮助,请点推荐并关注我吧,让更多人读到本文章,谢谢! 作者: 欣宇 出处: http://www.cnblogs.com/zhang625161495/ Q Q:625161495 点击这里给我发消息(拒绝骚扰) 版权声明:本人博客中未标明转载、原文地址的,其余均为原创博客,版 阅读全文
posted @ 2016-12-24 11:48 欣宇 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: 支持并尊重原创!原文地址:https://www.cnblogs.com/GoCircle/p/6429136.html 1 一、//TransmitFile实现下载 2 protected void Button1_Click(object sender, EventArgs e) 3 { 4 / 阅读全文
posted @ 2018-07-22 23:19 欣宇 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 支持并尊重原创!原文地址:http://www.cnblogs.com/xieshuxin/p/6731637.html 1 <!doctype html> 2 3 <html> 4 <head> 5 <meta charset="utf-8"> 6 <title>Video视频截图</title> 阅读全文
posted @ 2018-07-22 23:08 欣宇 阅读(1788) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Data; 4 using System.Reflection; 5 6 /// 7 /// 将DataTable数据源转换成实体类 8 /// 9 /// 实体 10 public static class ToModel where T... 阅读全文
posted @ 2016-12-24 14:26 欣宇 阅读(4611) 评论(0) 推荐(0) 编辑
摘要: 1 using System.Text.RegularExpressions; 2 3 /// 4 /// 判断字符串是否是int/double 5 /// 6 public static bool IsIntOrDouble(string strNumber) 7 { 8 Regex objNotNumberPattern = new Regex("[^0-9.... 阅读全文
posted @ 2016-12-24 11:28 欣宇 阅读(2184) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 判断字符串是否是数字 3 /// 4 public static bool IsNumber(string s) 5 { 6 if (string.IsNullOrWhiteSpace(s)) return false; 7 const string pattern = "^[0-9]*$"; 8 Regex rx = new ... 阅读全文
posted @ 2016-12-24 11:27 欣宇 阅读(21085) 评论(3) 推荐(0) 编辑
摘要: 1 /// 2 /// 删除字符串中的中文 3 /// 4 public static string Delete中文(string str) 5 { 6 string retValue = str; 7 if (System.Text.RegularExpressions.Regex.IsMatch(str, @"[\u4e00-\u9fa5]")) 8 ... 阅读全文
posted @ 2016-12-24 11:15 欣宇 阅读(5209) 评论(0) 推荐(0) 编辑
摘要: 支持并尊重原创!原文地址:http://jingyan.baidu.com/article/2c8c281deb79ed0008252af1.html 判断一个字符是不是汉字通常有三种方法,第1种用 ASCII 码判断,第2种用汉字的 UNICODE 编码范围判 断,第3种用正则表达式判断,下面是具 阅读全文
posted @ 2016-12-23 19:07 欣宇 阅读(12633) 评论(3) 推荐(2) 编辑
摘要: 首先新建txt文本,复制粘帖以下内容,保存为cmd执行SQL.bat。注意是bat文件 osql -S 服务器名称 -d 数据库 -U 登录名 -P 密码 -i 盘符:\文件夹\文件.sql 阅读全文
posted @ 2016-12-22 19:46 欣宇 阅读(1683) 评论(0) 推荐(0) 编辑