搜索列表
-
如何在ASP中恰当地运用Cookies?
【编程10000问】remberme.asp' 用户提交个人信息.<%response.Cookies("information")("姓名")=request.form("name")response.Cookies("information")("顾客号")=request.form("id")response.Cookies("information")("来自")=request.form("from")……' 定义一个名为information的Cookies字典,你可以定义更多,如果你需要....
|如何|何在|在A|AS|SP|P中|中恰|恰当|当地|地运|运用|用C|Co|oo|ok|ki|ie|es|s?|?| -
如何提示用户打开Cookie?
【编程10000问】Dim strCookie, strTrystrCookie = Request.Cookies("MyCookie") strTry = Request.QueryString("Try") If strCookie = "" Then ' 检测否是设置了Cookie. If strTry = "" Then &n...
|如何|何提|提示|示用|用户|户打|打开|开C|Co|oo|ok|ki|ie|e?|?| -
为什么用磁盘序列号加密过的代码不能被复制安装?
【编程10000问】default.asp<html><head><title>星河影动之磁盘序列号加密代码存取管理</title></head><% dim conn,fs,fSet conn = Server.CreateObject("ADODB.Connection")conn.open "driver={Microsoft Access Driver (*.mdb)};uid=;pwd=3302;dbq="&server.mappath("id.mdb")set fs=server.createObj...
|为什|什么|么用|用磁|磁盘|盘序|序列|列号|号加|加密|密过|过的|的代|代码|码不|不能|能被|被复|复制|制安|安装|装?|?| -
如何实现人民币的大写转换?
【编程10000问】第一个办法,这个程序可以进行万亿以下的货币金额转换(够用的了吧),其中汉字与数字均按一位计:Function AtoC(a As Currency) As String ' 定义两个字符串,A的值最多是两位小数. Dim String1 As String ' 如下定义. Dim String2 As String&...
|如何|何实|实现|现人|人民|民币|币的|的大|大写|写转|转换|换?|?| -
如何准确地获得一个整数?
【编程10000问】如何准确地获得一个整数?function NumbersOnlyNoDecimals(pInString) lNumbersOnly = "" for x = 1 to len(pInString) y = (len(pInString)-x+1) if isNumeric(mid(pInString, y,1)) then lNumbersOnly = lN...
|如何|何准|准确|确地|地获|获得|得一|一个|个整|整数|数?|?| -
如何测试字符串的长度?
【编程10000问】如何测试字符串的长度?Function CheckStringLength(txt) txt=trim(txt) x = len(txt) y = 0 for ii = 1 to x if asc(mid(txt,ii,1)) < 0 or asc(mid(txt,ii,1)) >255 then &...
|如何|何测|测试|试字|字符|符串|串的|的长|长度|度?|?| -
如何制作关联的下拉菜单?
【编程10000问】<form name=f1 METHOD="POST"><%OpenDB objConn, "xxxx"Set RSClass = objConn.Execute("select * from class Order by fldClass")If RSClass.EOF Then Response.Write "噢,没有记录!<BR>"ElseResponse.Write "<select NAME=""class"" style=""FONT-S...
|如何|何制|制作|作关|关联|联的|的下|下拉|拉菜|菜单|单?|?| -
如何用下拉列表显示数据库里的内容?
【编程10000问】<%Dim objDC, objRSSet objDC = Server.CreateObject("ADODB.Connection")objDC.ConnectionTimeout = 15objDC.CommandTimeout = 30' 创建数据库连接objDC.Open "DBQ=" & Server.MapPath("database.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverI...
|如何|何用|用下|下拉|拉列|列表|表显|显示|示数|数据|据库|库里|里的|的内|内容|容?|?| -
如何制作一个弹出式的调查窗口?
【编程10000问】 <% Dim bSurvey ' 是否显示调查表 const bID="1" ' 调查表的id bSurvey=false ' 检查调查表是否已经显示过. if instr(request.Cookies("s"),":" & bID & ":")=0 then ' 如果...
|如何|何制|制作|作一|一个|个弹|弹出|出式|式的|的调|调查|查窗|窗口|口?|?| -
如何编写一个加法器?
【编程10000问】如何编写一个加法器?<form action="./calculation.asp"><input type="text" size="1" name="op1 value=<%Response.Write Request("op1")%>><input type="submit" name="operation value="plus"><input type="text" size="1" name="op2 value=<%Response.Write Request(...
|如何|何编|编写|写一|一个|个加|加法|法器|器?|?| -
如何做一个只搜索本网站的引擎?
【编程10000问】searchfiles.html <html><head><title>撼雪喷云之本网搜索引擎</title></head><body><form method="POST" action="cgi-bin/searchfiles.asp"> <table border="0" cellpadding="5" bgcolor="#C2E7E3"> <tr&...
|如何|何做|做一|一个|个只|只搜|搜索|索本|本网|网站|站的|的引|引擎|擎?|?| -
如何用FileSystemObject组件来做一个站内搜索?
【编程10000问】searchpage.htm' 搜索页面.<html><head> <title>千花飞舞之站内搜索引擎</title> </head> <body> <CENTER> &...
|如何|何用|用F|Fi|il|le|eS|Sy|ys|st|te|em|mO|Ob|bj|je|ec|ct|t组|组件|件来|来做|做一|一个|个站|站内|内