Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

AspÄÚÖöÔÏóµÄʹÓÃ

¿ÉÒÔʹÓÃÏÂÃæµÄÈκÎASPÄÚÖöÔÏ󣬶ø²»±ØÔÚASP½Å±¾ÖÐÌرðÉùÃ÷¡£
1£® Request£º
¶¨Ò壺¿ÉÓÃÀ´·ÃÎÊ´Óä¯ÀÀÆ÷·¢Ë͵½·þÎñÆ÷µÄÇëÇóÐÅÏ¢£¬¿ÉÓô˶ÔÏó¶ÁÈ¡ÒÑÊäÈëHTML±íµ¥µÄÐÅÏ¢¡£
¼¯£º
Cookies£ºº¬ÓÐä¯ÀÀÆ÷cookiesµÄÖµ
Form£ºº¬ÓÐHTML±íµ¥ÓòÖеÄÖµ
QueryString£ºº¬Óвéѯ×Ö·û´®µÄÖµ
ServerVariables£ºº¬ÓÐÍ·ºÍ»·¾³±äÁ¿ÖеÄÖµ
Àý×Ó£º
request_url.asp
£¼%
'»ñÈ¡Óû§ÊäÈ룬²¢´æÈë±äÁ¿
user_id=request.querystring("user_id")
user_name=request.querystring("user_name")
'ÅжÏÓû§ÊäÈëÊÇ·ñÕýÈ·
if user_id="" then
response.write "User_id is null,please check it"
response.end
end if
if user_name="" then
response.write "User_name is null,please check it"
response.end
end if
'´òÓ¡±äÁ¿
response.write user_id&"<br£¾"
response.write user_name
%£¾
Ч¹û£º
µ±·ÃÎÊhttp://10.1.43.238/course/request_url.asp?user_name=jʱ£º
User_id is null,please check it
µ±·ÃÎÊhttp://10.1.43.238/course/request_url.asp?user_name=j&user_id=my_idʱ£º
my_id
j
˼¿¼£º±äÁ¿ÊÇÈçºÎÔÚURLÖд«µÝºÍ±»AspÒ³Ãæ»ñÈ¡µÄ£¿
request_form.htm
£¼style type="text/css"£¾
£¼!--
.input {background-color: #FFFFFF; border-bottom: black 1px solid;border-left: black 1px solid; border-right: black 1px solid;border-top: black 1px solid; color: #000000;font-family: Georgia; font-size: 9pt;color: midnightblue;}
a:link {color: #1B629C; text-decoration: none}
a:hover {color: #FF6600; text-decoration: underline}
a:visited {text-decoration: none}
--£¾
£¼/style£¾
£¼center£¾
£¼form name="course" action="request_form.asp" method="post"£¾
User_id£º<input type="text" name="user_id" maxlength="20" class="input"£¾<br£¾<br£¾
User_name£º<input type="text" name="user_name" maxlength="30" class="input"£¾
£¼/form£¾
£¼br£¾<br£¾
£¼a href="javascript:document.course.submit();"£¾ Ìá ½» </a£¾
£¼/center£¾
request_form.asp
£¼%
'»ñÈ¡Óû§ÊäÈ룬²¢´æÈë±äÁ¿
user_id=request.form("user_id")
user_name=request.form("user_name")
'ÅжÏÓû§ÊäÈëÊÇ·ñÕýÈ·
if user_id="" then
res


Ïà¹ØÎĵµ£º

asp½«Êý¾Ý¿âµÄÊý¾Ýת»»³Éexcelµ¼³ö

<% '--------------------------------------------------------------------------------------------------
Set rs9 = Server.CreateObject("ADODB.RecordSet")
sqlstr="select * from ¿Í»§×ÊÁÏ¿â order by id desc"
rs9.open sqlstr,conn,1,3
%>
<%Set fs = server.CreateObject( ......

Asp³£ÓÃͨÓú¯ÊýÖ®Cookie·ÀÂÒÂë

 'º¯ÊýÃû£ºCodeCookie
  '×÷ ÓãºCookie·ÀÂÒÂëдÈëʱÓÃ
  '²Î Êý£ºstr ---- ×Ö·û´®
  '·µ»ØÖµ£ºÕûÀíºóµÄ×Ö·û´®
  'ʾ Àý£º
  '**************************************************
  Public Function CodeCookie(str)
   If is ......

Windows7ÏÂIIS7µÄ°²×°¼°ASPÅäÖ÷½·¨

×¢£º±¾ÈË°²×°µÄÊÇWindows 7 RC 7100 32λÖÐÎÄÆì½¢°æ ¡£
ÔÚWindows 7ÏÂÃæIIS7µÄ°²×°·½·¨£º
Ò»¡¢½øÈëWindows 7µÄ ¿ØÖÆÃæ°å
£¬Ñ¡Ôñ×ó²àµÄ ´ò¿ª»ò¹Ø±ÕWindows¹¦ÄÜ
¡£
¶þ¡¢ÏÖÔÚ³öÏÖÁË°²×°Windows¹¦ÄܵÄÑ¡Ïî²Ëµ¥
£¬×¢ÒâÑ¡ÔñµÄÏîÄ¿£¬ÎÒÃÇÐèÒªÊÖ¶¯Ñ¡Ôñ
ÐèÒªµÄ¹¦ÄÜ£¬ÏÂÃæÕâÕÅͼƬ°ÑÐèÒª°²×°µÄ·þÎñ¶¼ÒѾ­Ñ¡ÔñÁË£¬´ó¼Ò¿ÉÒÔ°´ÕÕ ......

aspÔö¼ÓÊý¾Ý¿â±íµÄ×ֶδúÂë

<%
'ÏÂÃæÊÇ×î¾ß¼¼Êõº¬Á¿µÄº¯ÊýÁË£¬¹þ¹þ~
'Ôö¼ÓÊý¾Ý¿â×Ö¶Î
function addziduan(ziduanming,ziduanleixing)
on error resume next
fldname = ziduanming
if ziduanleixing=1 or ziduanleixing=4 then
fldtype = "VarChar"
fldsize = 255
elseif ziduanleixing=2 or ziduanleixing=3 then
fldtyp ......

ʹÓÃJQueryºÍASP´òÔìAutoComplete¹¦ÄÜ

¿Í»§¶Ë´úÂ룺
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ