摘要: 版本WAS6.1.X,具体的步骤如下:登陆WebSphere管理控制台,选择 应用程序 > 企业应用程序 > 相应的企业应用程序 > 特定于目标的应用程序状态 > 选择相应的目标服务器 >点击【禁用自动启动】按钮即可 阅读全文
posted @ 2011-07-08 10:48 Bedhi 阅读(661) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.... 阅读全文
posted @ 2010-10-14 16:02 Bedhi 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 打开记事本写入语法:regsvr32 需注册的组件名称 /sregsvr32 Comdlg32.ocx /sregsvr32 fpSpr60.ocx /s保存为bt后缀的文件 阅读全文
posted @ 2010-08-31 09:30 Bedhi 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 环境:SQL2005数据库、Oracle - OraClient10g_home1(Oracle客户端)操作步骤:一、配置Oracle客户端1、添加监听程序监听程序名称FiatListener,添加地址:选TCP/IP协议、主机对应Oracle数据所在IP地址、端口任意2、创建服务名网络服务名:FiatServer-TCP/IP协议-主机名(对应Oracle数据库所在IP地址)-(Oracle8i... 阅读全文
posted @ 2010-08-27 09:52 Bedhi 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 在Web.config中做如下配置:<system.web> <globalization requestEncoding="Gb2312" responseEncoding="Gb2312"/></system.web> 阅读全文
posted @ 2010-08-26 15:31 Bedhi 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Cookie的使用方法:给Cookie赋值HttpCookie LoginUserCookie = new HttpCookie("LoginUser"); LoginUserCookie.Expires = DateTime.MaxValue;//用不过期 LoginUserCookie.Values.Add("UserID", userNew.UserID); LoginUserCookie.... 阅读全文
posted @ 2010-08-26 15:29 Bedhi 阅读(297) 评论(0) 推荐(0) 编辑
摘要: '----------------Start-----------------------新增一条记录------------------------------public Function InsertData()Dim conn As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim strCnn As StringstrCnn = "... 阅读全文
posted @ 2010-08-13 16:09 Bedhi 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: Insert into TargetTable(name) select BBCUST from OpenDataSource('MICROSOFT.JET.OLEDB.4.0','Text;HDR=yes;DATABASE=E:\AML Report\Data\0630')...[SDW0306Q#csv]注释:目标表:TargetTable列名:name存放文件文件夹路径:E:\AML Rep... 阅读全文
posted @ 2010-08-13 14:50 Bedhi 阅读(985) 评论(0) 推荐(0) 编辑
摘要: //调用存储过程执行类似于2//select count(*) from userinfo where username=username and pwd=pwd and grade=grade3//接受 3个参数分别用来表示用户名、用户密码、用户权限4public bool GetUserinfo(string username,string pwd,string grade)5    {6  ... 阅读全文
posted @ 2010-07-28 14:56 Bedhi 阅读(2193) 评论(0) 推荐(0) 编辑
摘要: DECLARE @Date DATETIMESET @Date=GETDATE()--前一天,给定日期的前一天SELECT DATEADD(DAY,-1,@Date) AS '前一天'--后一天,给定日期的后一天 SELECT DATEADD(DAY,1,@Date) AS '后一天'GO--月初,计算给定日期所在月的第一天--这个计算的技巧是先计算当前日期到“1900-01-01&r... 阅读全文
posted @ 2010-07-28 14:53 Bedhi 阅读(803) 评论(1) 推荐(0) 编辑