会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JeffQing
人生新的起点,相信自己,相信未来!
首页
新随笔
订阅
管理
2017年7月29日
线程池设置最多M线程执行N个任务
摘要: 转载地址:http://www.ithao123.cn/content-4805192.html 转载地址:http://www.ithao123.cn/content-4805192.html
阅读全文
posted @ 2017-07-29 18:20 JeffQing
阅读(1515)
评论(0)
推荐(1)
2016年5月23日
实体对象间传值克隆
摘要: /// <summary> /// 复制克隆 /// </summary> /// <typeparam name="TSource">源头对象类型</typeparam> /// <typeparam name="TTarget">目标对象类型</typeparam> /// <param nam
阅读全文
posted @ 2016-05-23 11:07 JeffQing
阅读(292)
评论(0)
推荐(1)
2015年9月11日
服务器端控件Button会自动刷新页面
摘要: 最近开始做B/S程序,遇到了一个很小很小的问题,一直没有找到原因,最后发现,服务器端的Button控件使用会自动刷新页面,建议使用 代替。小小问题,记录留存
阅读全文
posted @ 2015-09-11 22:02 JeffQing
阅读(368)
评论(0)
推荐(0)
2013年12月24日
动态调用WebService方法
摘要: C#动态调用WebServiceobject item = InvokeWebService(this._webServicesUrl, "HelloWorld", new object[] { "参数" });public static object InvokeWebService(string url, string methodname, object[] args) { return InvokeWebService(url, null, methodname, args); }public static object InvokeW...
阅读全文
posted @ 2013-12-24 15:39 JeffQing
阅读(346)
评论(0)
推荐(0)
2013年8月28日
数据库备份Bat文件
摘要: 转自:http://www.cnblogs.com/xwdreamer/archive/2011/07/15/2296980.htmldel D:\DataBak\database7.dmp del D:\DataBak\database7.logren D:\DataBak\database6.dmp database7.dmp ren D:\DataBak\database5.dmp database6.dmp ren D:\DataBak\database4.dmp database5.dmp ren D:\DataBak\database3.dmp database4.dmp ren
阅读全文
posted @ 2013-08-28 17:23 JeffQing
阅读(1243)
评论(0)
推荐(0)
2013年8月4日
Ftp实用类
摘要: 1 public class FtpLib 2 { 3 string ftpServerIP; 4 string ftpUserID; 5 string ftpPassword; 6 FtpWebRequest reqFTP; 7 8 public FtpLib(string ftpServerIP, string ftpUserID, string ftpPassword) 9 { 10 this.ftpServerIP = ftpServer...
阅读全文
posted @ 2013-08-04 20:12 JeffQing
阅读(1019)
评论(0)
推荐(0)
2013年4月26日
win7/win8下安装Oracle1出错10g,提示“程序异常终止,发生未知错误”解决方法
摘要: 转自:http://blog.csdn.net/zb0567/article/details/86280581.修改Oracle 10G\database\stage\prereq\db\refhost.xml当打开refhost.xml 后会发现有</SYSTEM> <CERTIFIED_SYSTEMS>..... <OPERATING_SYSTEM> <VERSION VALUE="5.1"/> </OPERATING_SYSTEM><OPERATING_SYSTEM> <VERSION VA
阅读全文
posted @ 2013-04-26 22:20 JeffQing
阅读(2852)
评论(0)
推荐(0)
2013年4月22日
创建桌面快捷方式的语法
摘要: 转载文章:创建桌面快捷方式语法://实例化WshShell对象 WshShell shell = new WshShell();//通过该对象的 CreateShortcut 方法来创建 IWshShortcut 接口的实例对象 IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "//" + shortCutName + ".lnk");//设置快捷方式的目标所在
阅读全文
posted @ 2013-04-22 21:28 JeffQing
阅读(491)
评论(0)
推荐(0)
XML文件的加密与解密
摘要: XML文件的加密RijndaelManaged key = new RijndaelManaged();//设置密钥:key为32位=数字或字母16个=汉字8个byte[] byteKey = Encoding.Unicode.GetBytes("1111111111111111");key.Key = byteKey;XmlDocument xmlDoc = new XmlDocument();xmlDoc.PreserveWhitespace = true;xmlDoc.Load(Application.StartupPath + @"\FunctionEna
阅读全文
posted @ 2013-04-22 21:23 JeffQing
阅读(17337)
评论(0)
推荐(0)
2012年10月31日
三层中最重要的SqlHelper类
摘要: 1:连接数据库(在表示层中添加应用配置文件,写上以下代码)App.config<?xml version="1.0" encoding="utf-8" ?><configuration> <connectionStrings> <add name="constr" connectionString="server=.;uid=sa;pwd= ;database=DB" providerName="System.Data.SqlClient"/> &
阅读全文
posted @ 2012-10-31 22:10 JeffQing
阅读(4723)
评论(23)
推荐(5)
下一页