上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
  2007年9月9日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Collections;namespaceWalter.K.Wang.Singleton...{/**////<summary>///Singleton模式///</summary>publicclassLoadBalancer...{privatestaticLoadBalancerinstance;privateArrayListservers=newArrayList();privateRandomrandom=newR 阅读全文
posted @ 2007-09-09 21:30 wkjs 阅读(195) 评论(0) 推荐(0) 编辑
  2007年8月31日
摘要: 如下兩個表(A)IDaName---------------------------------1a2b3c4d5e(B)IDbName---------------------------------4d5e6f7g8h查詢結果IDaNamebName---------------------------------------------------------1aNULL2bNULL3cNULL4dd5ee6NULLf7NULLg8NULLhcreatetableA(IDintprimarykey,aNamevarchar(50))createtableB(IDintprimarykey 阅读全文
posted @ 2007-08-31 09:09 wkjs 阅读(208) 评论(0) 推荐(0) 编辑
  2007年8月2日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Windows.Forms;usingSystem.Diagnostics;usingSystem.Reflection;namespaceWindowsApplication1...{staticclassProgram...{/**////<summary>///應用程式的主要進入點。///</summary>[STAThread]staticvoidMain()...{Processp=checkApp();if(p==null)...{Applicat 阅读全文
posted @ 2007-08-02 15:37 wkjs 阅读(162) 评论(0) 推荐(0) 编辑
  2007年7月30日
摘要: --修改表IFEXISTS(SELECT*FROMsysobjectsWHEREtype='U'ANDname='test')begindroptabletestendGOcreatetabletest(TIDintprimarykeyidentity(1,1),TNamevarchar(50)--修改視圖IFEXISTS(SELECT*FROMsysobjectsWHEREtype='V'ANDname='view_select')begindropviewview_selectendGOcreateviewview_selec 阅读全文
posted @ 2007-07-30 11:49 wkjs 阅读(220) 评论(0) 推荐(0) 编辑
  2007年7月19日
摘要: <%@PageLanguage="C#"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><scriptrunat="server">protectedvoidCheckBox2_CheckedChanged(objectsender,EventArgse)...{foreach(GridViewRo 阅读全文
posted @ 2007-07-19 11:23 wkjs 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <%@PageLanguage="C#"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><scriptrunat="server">protectedvoidPage_Load(objectsender,EventArgse)...{if(!IsPostBack)...{MVC_M.MODELa=n 阅读全文
posted @ 2007-07-19 11:14 wkjs 阅读(131) 评论(0) 推荐(0) 编辑
摘要: http://dl2.csdn.net/down4/20070719/19101125349.dllusingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Collections;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;publicpa 阅读全文
posted @ 2007-07-19 10:13 wkjs 阅读(200) 评论(0) 推荐(0) 编辑
  2007年7月18日
摘要: privatevoidgetData()...{try...{//加載數據庫並綁定數據DataSetds=newDataSet();SqlDataAdapterda=newSqlDataAdapter("proc_selectall",ConfigurationManager.AppSettings["ConnectiontString"].ToString());da.SelectCommand.CommandType=CommandType.StoredProcedure;da.SelectCommand.Parameters.Add(newSqlP 阅读全文
posted @ 2007-07-18 17:49 wkjs 阅读(179) 评论(0) 推荐(0) 编辑
  2007年6月29日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Drawing;usingSystem.Data;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Data.SqlClient;usingMicrosoft.Win32;namespaceWindowsForm...{publicpartialclassdoits:UserControl...{privateRegistryKeyhkml;privateDataSetd 阅读全文
posted @ 2007-06-29 13:56 wkjs 阅读(201) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Data.SqlClient;namespaceWindowsForm...{publicpartialclassForm1:Form...{privateMenuStripmainmenu=newMenuStrip();privateToolStripMenuItemfi 阅读全文
posted @ 2007-06-29 13:53 wkjs 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页