摘要:
using System;using System.Web;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Xml;namespace CommHelper{ public class AppConfig { /// <summary> /// 获得配置... 阅读全文
摘要:
A、链接SQL Server服务器:1、使用 ODBC 的 Microsoft OLE DB 提供程序EXEC sp_addlinkedserver '别名','','MSDASQL',NULL,NULL,'DRIVER={SQL Server}; SERVER=远程名; UID=用户; PWD=密码; 'goexec sp_addlinkedsrvlogin @rmtsrvname='别名',@... 阅读全文
摘要:
web.config关于sessionState节点的配置方案,sessionState有四种模式:off,inProc,StateServer,SqlServer。1、off模式从字面上就可以看出这个是关闭模式,如果当前页面不需要session的值,为了减少服务器资源,你可以去掉Session的开销。<sessionState mode="off">或者页面上<%@ Page ... 阅读全文
摘要:
windows7+VS2003调试时无法附加w3wp.exe进程问题:原因:在默认情况下,IIS对网站的默认应用程序池使用的不是ASP.NET 1.1 ;所以造成无法附加到进程。 阅读全文
摘要:
一、实例图片二、点击下载三、SQLUSE [master]GO/****** 对象: Table [dbo].[Tree] 脚本日期: 06/09/2009 09:11:54 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE TABLE [dbo].[Tree]([HangBiaoShi] [int] NOT NULL,[Biao... 阅读全文
摘要:
对于早期使用编写ASP的程序员来说,都会很明确它们两个有什么不同;但对于没有接触ASP直接使用.NET的程序员对它们可能就会有些模糊。其实它们两个的区别很好分辨,GET方式就是我们常用的在URL后面用?号连接&号分割的方式;缺点:安全性低,传输的长度受限制,在服务器端接收可以使用Request.QueryString[parm]。POST方式的处理是隐式的,在我们不知觉中.NET已经通过H... 阅读全文
摘要:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="A... 阅读全文
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title&g... 阅读全文
摘要:
Select * From HuiYi where (时间字段1 Between BeginDate(时间参数1) and EndDate(时间参数2)) or (时间字段2 Between BeginDate(时间参数1) and EndDate(时间参数2)) or (时间参数1 Between 时间字段1 and 时间字段2) or (时间参数2 Between 时间字段1 and 时间字段... 阅读全文
摘要:
1. Select Top PageSize * From Table where biaoshi not in (Select Top (PageIndex-1)*PageSize biaoshi From Table )2.CREATE PROCEDURE [dbo].[UP_Common_Pager](@tblName nvarchar(255), -- 表名@Fields nvarchar... 阅读全文
摘要:
下载:divMessageBox.js<HTML><HEAD> <TITLE> New Document </TITLE> <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /><script language="javascript" src="... 阅读全文
摘要:
using System;using System.Windows.Forms;using System.Threading;namespace _Delegate{ delegate void GetDelegate(); delegate void DelegateStart(); delegate void TimeSprogressStep(int index); delegate vo... 阅读全文
摘要:
今天无事,看了看benSoft.web.WebControls.PopupBox在.Net2.0下编译后,出现弹出为空白问题。做以下总结:原因是些属性引起的:public string preMark{get {string clientID = base.NamingContainer.ClientID;clientID = (clientID == null) ? "" : clientID;... 阅读全文
摘要:
修改后: 可以定义标题 || 自定义Logo.(下载PopupBox)说明: //标题方式显示 //PopupBox1.TitleShow = true; //PopupBox1.Title = "我们标题"; //图片方式显示 PopupBox1.ImageShow = true; PopupBox1.ImagsName = "=.gif";// 注=... 阅读全文
摘要:
一、前台Js方式调用(base64.js自己在网上找吧,就不上贴了)1233333334455 二、后台Cs应用using System.Text;using System.IO;using System.Security.Cryptography;//*******加密**********//Convert.ToBase64String(System.... 阅读全文
摘要:
.aspx Execute.aspx.cs Stream str = Request.InputStream; byte[] bt = new byte[str.Length]; str.Read(bt, 0, Convert.ToInt32( str.Length)); string pa... 阅读全文
摘要:
*** 将彻底屏蔽鼠标右键no 可用于Table //onselectstart 选中操作 onpaste 粘贴操作 oncopy 复制操作 oncut 剪切操作 阅读全文
摘要:
".*"="application/octet-stream" ".001"="application/x-001" ".301"="application/x-301" ".323"="text/h323" ".906"="application/x-906" ".907"="drawing/907" ".a11"="appl 阅读全文
摘要:
http://www.connectionstrings.com/ 阅读全文
摘要:
部门职责 工作动态 工作计划4 ... 阅读全文