会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
欣宇
博客园
首页
新随笔
联系
订阅
管理
[置顶]
【原创】ubuntu14.04 LTS系统VMware虚拟机内Windows server 2008 r2系统的网络配置
摘要: 主系统: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 欣宇
阅读(235)
评论(0)
推荐(0)
[置顶]
【原创】SQL分页查询存储过程
摘要: 如果您觉得本文章对你有帮助,请点推荐并关注我吧,让更多人读到本文章,谢谢! 作者: 欣宇 出处: http://www.cnblogs.com/zhang625161495/ Q Q:625161495 点击这里给我发消息(拒绝骚扰) 版权声明:本人博客中未标明转载、原文地址的,其余均为原创博客,版
阅读全文
posted @ 2016-12-24 11:48 欣宇
阅读(1518)
评论(0)
推荐(0)
2018年7月22日
【转载】C# 从服务器下载文件
摘要: 支持并尊重原创!原文地址: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 欣宇
阅读(293)
评论(0)
推荐(0)
【转载】用原生JS和html5进行视频截图并保存到本地
摘要: 支持并尊重原创!原文地址: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 欣宇
阅读(1793)
评论(0)
推荐(0)
2016年12月24日
C# 将DataTable数据源转换成实体类
摘要: 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 欣宇
阅读(4657)
评论(0)
推荐(0)
C# 判断字符串是否是int/double
摘要: 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 欣宇
阅读(2219)
评论(0)
推荐(0)
C#判断字符串是否是数字
摘要: 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 欣宇
阅读(21140)
评论(3)
推荐(0)
C# 删除字符串中的中文
摘要: 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 欣宇
阅读(5265)
评论(0)
推荐(0)
2016年12月23日
【转载】C#怎么判断字符是不是汉字
摘要: 支持并尊重原创!原文地址:http://jingyan.baidu.com/article/2c8c281deb79ed0008252af1.html 判断一个字符是不是汉字通常有三种方法,第1种用 ASCII 码判断,第2种用汉字的 UNICODE 编码范围判 断,第3种用正则表达式判断,下面是具
阅读全文
posted @ 2016-12-23 19:07 欣宇
阅读(12693)
评论(3)
推荐(2)
2016年12月22日
cmd执行SQL语句
摘要: 首先新建txt文本,复制粘帖以下内容,保存为cmd执行SQL.bat。注意是bat文件 osql -S 服务器名称 -d 数据库 -U 登录名 -P 密码 -i 盘符:\文件夹\文件.sql
阅读全文
posted @ 2016-12-22 19:46 欣宇
阅读(1691)
评论(0)
推荐(0)
下一页
公告