Loading

摘要: public static string conn= "Provider=SQLOLEDB;Server=192.168.1.1;Initial Catalog= database_name;User ID=sa; Password=pwd;"; 阅读全文
posted @ 2012-03-28 09:25 GerryGe 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/sky_zt/article/details/5950932#if DEBUG System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start();#endif/////////////////////==============中间各种程序====================//////////////#if DEBUG sw.Stop(); TimeSpan ts = sw.Elapsed; string elapsedTime = String.Fo 阅读全文
posted @ 2012-03-26 15:29 GerryGe 阅读(394) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/jia818915/blog/item/f81090c29bd0911e0ff4773c.html 阅读全文
posted @ 2012-03-15 13:17 GerryGe 阅读(141) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.OleDb;using CrystalDecisions.S 阅读全文
posted @ 2012-02-21 16:04 GerryGe 阅读(1444) 评论(3) 推荐(0) 编辑
摘要: http://www.connectionstrings.com/ 阅读全文
posted @ 2012-01-20 10:11 GerryGe 阅读(180) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/BlueMap/article/details/5710092 阅读全文
posted @ 2012-01-19 08:59 GerryGe 阅读(394) 评论(0) 推荐(0) 编辑
摘要: C#3.0(VS2008)支持在任何类型上扩展生成自定义的方法。比如说想在string类型的对象里面多一个ToInt32(),来方便的将字符转换成整形。在实现的过程中的关键字为static和this下面我们来做一个在string类型中新建一个ToInt32的自定义方法View Code public static class Extension//必须先声明一个静态类,类名随意 { public static int ToInt32(this string In)//扩建的方法必须是静态方法,参数里面必须含有this关键字,this关键字后面的类型为需要扩展的类型 ... 阅读全文
posted @ 2012-01-16 15:27 GerryGe 阅读(196) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-01-09 09:45 GerryGe 阅读(0) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" language="javascript"> var idTmr; function method1(tableid) {//整个表格拷贝到EXCEL中 var curTbl = document.getElementById(tableid); var oXL = new ActiveXObject("Excel.Application"); //创建AX对象excel var oWB = oXL.Workbooks.Add(); //获取workbook对象 阅读全文
posted @ 2012-01-09 09:18 GerryGe 阅读(15650) 评论(2) 推荐(4) 编辑
该文被密码保护。 阅读全文
posted @ 2012-01-07 09:49 GerryGe 阅读(2) 评论(0) 推荐(0) 编辑