摘要:SQLDMO(SQL Distributed Management Objects,SQL分布式管理对象)封装了Microsoft SQL Server数据库中的对象。SQLDMO是Microsoft SQL Server中企业管理器所使用的应用程序接口。 SQLDMO由Microsoft SQL Server自带的SQLDMO.dll提供,由于SQLDMO.dll是一个COM对象,所以...
阅读全文
摘要:Reflection.aspx Class reflection sample Class reflection sample Reflection.aspx.cs using System;using System.Data;using System.Configura...
阅读全文
摘要:当你希望从ashx或HttpHandler里访问你的Session时,你必须实现IReadOnlySessionState接口.代码: using System;using System.Web;using System.Web.SessionState;public class DownloadHandler : IHttpHandler, IReadOnlySessionState{ p...
阅读全文
摘要: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.W...
阅读全文
摘要:在ASP.NET 2.0 Beta 2 Starter Kits 的Club Site Starter Kit项目中,有一个EventCalendar.dll没有给出源码。下面是作者给出的源码地址http://beta.asp.net/StarterKits/Downloads/EventCalendar.zip如果你正在看Club Site Starter Kit,只用将zip的所有文件解压到项...
阅读全文
摘要:是否支持多句查询http://www.xxx.com/xxxnews/shownews.asp?id=51;declare @a int-- 是否支持子查询http://www.xxx.com/xxxnews/shownews.asp?id=51 and (Select count(1) from [sysobjects])>=0 返回用户名http://www.xxx.com/xxxnews/...
阅读全文
摘要:using System;using System.Web.UI;using System.Text;namespace Goodspeed.Web{ /**//// /// Summary description for WebTimer /// public class WebTimer:Control, IPostBackEventHandler { ...
阅读全文
摘要:图片选择与上传 图片编辑 相关代码(见回复)
阅读全文
摘要:Snake 参数 Sx: Sy: Fx: Fy: Gox: Goy: Sec: Time:
阅读全文
摘要:void Page_Load(object sender, EventArgs e) { //测试数据 string[] myArr = new string[6]; myArr[0] = "地域"; myArr[1] = "地図"; myArr[2] = "路線"; myArr[3] = "道路交通"; ...
阅读全文
摘要:string text = "Yeah, you clicked the button!";EventHandler handler =delegate(object dlgSender, EventArgs dlgE){ Response.Write(text);};this.Button1.Click += handler;
阅读全文
摘要:function fn(a,b,c){ var s = ""; var i; s += "函数传入参数个数:" + fn.arguments.length + "\n"; for (i=0;i<fn.arguments.length;i++) { s += "函数传入参数" + i +":" + fn.arguments[i] + "\n"; }...
阅读全文
摘要:// 在标签之前 this.RegisterStartupScript("2", ""); //在标签之后 this.RegisterClientScriptBlock("1", ""); //创建客户端数组在之前 RegisterArrayDeclaration("FavoriteFolks", "'Goo...
阅读全文
摘要:strSQL = "SELECT EmployeeID,LastName,FirstName FROM Employees;"set rs=server.CreateObject("adodb.recordset")rs.CursorLocation = 3 rs.Open strSQL,conn,0,1 rs.Sort = " FirstName"
阅读全文
摘要:ASP Test " For Each Field In rs.Fields strResponse = strResponse & "" & Field.Name & "" Next strResponse = strResponse & "" '输出表体 Do Until rs.EOF strResponse = str...
阅读全文
摘要:Cool http://www.cnblogs.com http://www.cnblogs.com/goodspeed 我自己的Blog
阅读全文