摘要: 转载地址:http://www.ithao123.cn/content-4805192.html 转载地址:http://www.ithao123.cn/content-4805192.html 阅读全文
posted @ 2017-07-29 18:20 JeffQing 阅读(1509) 评论(0) 推荐(1) 编辑
摘要: /// <summary> /// 复制克隆 /// </summary> /// <typeparam name="TSource">源头对象类型</typeparam> /// <typeparam name="TTarget">目标对象类型</typeparam> /// <param nam 阅读全文
posted @ 2016-05-23 11:07 JeffQing 阅读(290) 评论(0) 推荐(1) 编辑
摘要: 最近开始做B/S程序,遇到了一个很小很小的问题,一直没有找到原因,最后发现,服务器端的Button控件使用会自动刷新页面,建议使用 代替。小小问题,记录留存 阅读全文
posted @ 2015-09-11 22:02 JeffQing 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 转自: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 阅读(1237) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: 转自: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 阅读(2842) 评论(0) 推荐(0) 编辑
摘要: 转载文章:创建桌面快捷方式语法://实例化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 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(17214) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(4712) 评论(23) 推荐(5) 编辑