上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 应用oledb导出标准格式EXCEL,可以直接返回去导入的那种 /// /// 导出excel /// /// DataTable格式的数据 /// 要导出的文件名 private void ExportExce... 阅读全文
posted @ 2015-08-25 15:53 燕儿归 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 验证身份证号是否符合规则,比较实用,错判率我自己测试为0,挺好用的,欢迎大神补充。protected bool checkidcard(string idcard) { //验证18位或者17位加大小写x Regex rg = new Reg... 阅读全文
posted @ 2015-08-20 18:11 燕儿归 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 前台 '>【通过】 '>【拒绝】 后台protected void LinkButton1_Click(object sender, EventArgs e){ string id = ((LinkButton)sender... 阅读全文
posted @ 2015-08-14 17:17 燕儿归 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 前台部分内容 教育背景 ... 阅读全文
posted @ 2015-08-14 17:09 燕儿归 阅读(322) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Mail;使用的是System.Web.Mail因为是.net 1.0环境下,没有System.Net.Mail,所以只能用这个。using System.Web.Mail;protected void Button1_Click(object sender, Ev... 阅读全文
posted @ 2015-08-12 11:38 燕儿归 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-08-06 15:54 燕儿归 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 优化网站响应时间tomcat添加gzip@author YHCtomcat版本要求:5.0+step 1:找到你的${tomcat}/conf/server.xml 注:${tomcat}代表你的tomcat安装路径step 2:打开文件,添加以下红线圈住选项:以上代码解释:[plain]view... 阅读全文
posted @ 2015-08-06 15:10 燕儿归 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 循环语句是编程的基本语句,在C#中除了沿用C语言的循环语句外,还提供了foreach语句来实现循环。那么我要说的就是,在循环操作中尽量使用foreach语句来实现。为了来更好地说明为什么要提倡使用foreach,用如下三种不同方式来编写循环语句。int[] nArray =newint[100];/... 阅读全文
posted @ 2015-07-30 15:42 燕儿归 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 最近在做C#上进行H264解码的网络摄像头,通过各种折腾,还是没法解决,无奈之下只好使用在C#下加载ffmpeg的动态库进行,在加载的时候说不遇到问题那是不可能的。下面就我遇到的问题和解决方案进行发表:1.加载方法很多人都想着通过右键引用的方法进行dll的加载,当然那是简便的方法,不过对于用C++编... 阅读全文
posted @ 2015-07-16 21:12 燕儿归 阅读(1668) 评论(0) 推荐(1) 编辑
摘要: 通常要手动生成WebService代理类需要把一句生成语句,如 wsdl.exe /l:cs /out:D:\Proxy_UpdateService.cs http://localhost:7000/UpdateService.asmx?wsdl拷贝到Visual Studio2010 命令提示窗口... 阅读全文
posted @ 2015-07-13 20:46 燕儿归 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页