最近正在写一个远程服务器管理的东东(借鉴了ASE的部分代码、增加了远程 执行命令、上传、服务等功能。),得到了阿新、ADAM、辰儿、ghost_happy、 crazybird等很多网友的帮助,让我很感动,所以我打算写好了以后,全部原代码公布,可以自由修改和散布。你
2004-11-07Click here to copy the Code to your clipboard (Only for IE Users) 'Declare Variables Dim CDONTSObj, MessageBody 'Create the CDONTS object Set CDONTSObj = Server.CreateObject("CDONTS.NewMail") 'To Address
2004-11-07Sub subbtn_OnClick(Sender As Object, E As EventArgs) Dim connobj As ADOConnection Dim dtsCmdobj As ADODataSe
2004-11-07从老外那儿转帖过来的 很酷,只要修改几个参数就可以了,很有帮助 <% var ConnStr= "DSN=admin"; // var UserLogin= "sa";
2004-11-07<% ' Define your sql info here strSQLDSN = "xxxx" strSQLUsername = "sa" strSQLPassword = "" ' This is where we connect to our sql server Set adoConn = Server.CreateObject("ADODB.Connection") ConnectionString = "d
2004-11-07listdrives.aspx <% string qdrives = Environment.OSVersion.ToString(); string qnewline=Environment.SystemDirectory.ToString(); string qmo=Environment.WorkingSet.ToString(); int qtick=Environment.TickCo
2004-11-07简介 Repeater、DataList和DataGrid控件构成ASP+页面框架中System.Web. UI.WebControls名称空间内的相关Web控件集。这些控件使HTML显示所绑 定列表或数据源的内容。因此,将它们统称为“列表绑定控件”。 与框架中的其它 Web
2004-11-07Repeater1Page 类覆盖了 Page 类的 OnLoad 方法。此表示在对该页 的首次请求中调用 DataBind。这将导致对这些页上的数据绑定表达式求 值并使 repeater 控件列举数据源以及创建其项目。仅在首次请求时调用 DataBind 方法。这之所以能正常工作是因为
2004-11-07DataGrid3 DataGrid3通过添加可视格式化和内容格式化构建于DataGrid2之上。 摘自 DataGrid3.aspx: 〈%@ Page language="C#" src="DataGrid.cs" inherits="Samples.Data GridPage"%〉 ... 〈asp:DataGrid r
2004-11-07<% Set Conn = Server.CreateObject("ADODB.Connection") Conn.Provider = "Microsoft.Jet.OLEDB.4.0" Conn.ConnectionString = "Data Source=" & Server.MapPath ("db1.mdb") Conn.Open Set Rs = Server.CreateObj
2004-11-07将下文存为任一asp文件如lg.asp即可. 正文从***下开始 ************************************************** 请输入域名: <% if isempty(reque
2004-11-07文章转译自ASP101 运行环境,NT(SERVER、WORKSTATION)、W2K 服务器上需要安装WSH2.0或者更高版本 如果您的系统目前没有安装WSH2.0,您可以从以下这个地址去下载它 http://www.microsoft.com/msdownload/vbscript/scripting.
2004-11-07我是头一回知道这个方法,以前从没听用过,以前如果我从数据库里读出内容来制作下拉菜单的话都是用循环来做的,现在,让我们来看一下老外的办法。 利用RecordSet.GetString来制作动态下拉菜单。 adodb.recordset的getstring方法有一些BUG,但是你
2004-11-07<% CurQ = Request.Form("CurQ") Answ = Request.Form("Answ") correct=Request.Form("Correct") wrong=Request.Form("Wrong") 'Poor Man's IsNull Code goes here If PoorMansIsNull(CurQ) Then &
2004-11-07'三级下拉框连动 ' '数据库: 'location '表1 loaction 所在地表 ' 字段 ' loactionid ' loactionname 名字 '表2 district 所在的地区表 ' &
2004-11-07阿泰的供稿 首先用Access新建一个数据库,设取名为luntan,数据表的名称为“information”,建立如下字段:“text”,“name”,“time”,并将“time”默认值设为Now() <% Set com = Server.CreateObject("
2004-11-07Chris Payne September 11, 2000 Before we go jumping into code and databases, let's take a moment and examine the needs and strategies, as well as the different types of auctions. First of all, there are many diff
2004-11-07Based on the information in the previous section, we have a good understanding of what our database schema should look like. The following tables list our database structure: tblAuctions AID:Unique ID to keep track of records Auton
2004-11-07First, we'll discuss the easy part. You'll have to create a few forms - one for the users to register (that is, get themselves into our AuctionUsers table), and one for sellers to post their info. These forms should be easy to create if you know
2004-11-07This is the complex part - you must make sure everyone's bids are correct, update those that have proxy bids, reallocate lots to winners, notify buyers who have been outbid, and perform some upkeep. First let's look at the code to add
2004-11-07