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

ASP»ñÈ¡ºÍ»¹Ô­¸´Ñ¡¿òµÄÖµ(0¡«99¶àÏîÑ¡Ôñ)

    ÔÚ¶àÏîÑ¡ÔñµÄһЩӦÓÃÖУ¬¿ÉÒÔÓöþ½øÖÆ1´ú±íÑ¡ÖУ¬0´ú±í²»Ñ¡¡£ÀýÈç¸øijÓû§½ÇÉ«·ÖÅäȨÏÞabcdefg£¬Ñ¡ÖÐÇé¿öÊÇ1001101£¬ÄÇô´Ë½ÇÉ«°üº¬ËÄÏîȨÏÞ£¬ÓÃÒ»¸ö±äÁ¿±íʾ£¬ÏàÓ¦µÄÊ®½øÖÆÊýÊÇ77¡£
    µ«ÊÇ£¬ÔÚASPÖеĶàÏîÑ¡Ôñ£¬¾Í²»ÊʺÏÕâÖÖÒÔÊýÖµµÄÐÎʽ¼Ç¼ѡÖÐÇé¿ö¡£ÒòΪ£¬µ±ÏîÄ¿ÊýºÜ¶àʱ£¨ÀýÈç64ÏÏàÓ¦µÄ¶þ½øÖÆÊý´ï64룩£¬¾ÍÉæ¼°´óÕûÊýµÄÔËË㣬²½Öè·±ÔÓ£¬¶øÇÒµ±ÏîÄ¿Êý¸Ä±äʱ£¬Ëã·¨Ò²Òª¸Ä±ä¡£
    ÒÔÏÂÒÔ×Ö·ûµÄÐÎʽ»ñÈ¡ºÍ»¹Ô­ASP¸´Ñ¡¿òµÄÖµ£¬Ó¦ÓÃÓÚ½ÇÉ«·ÖÅ䡢ͶƱͳ¼ÆµÈÁìÓò£¬×î¶à99Ï
<script language="javascript">
function selectIt(){
 form=document.lzyy
 action=event.srcElement.name
 for(var i=0; i<form.elements.length; i++){
     if(form.elements[i].name=="test"){
       e=form.elements[i]
      e.checked=(action=="selectAll")?(form.selectAll.checked):(!e.checked)
     }
 }
 }
</script>
<%
dim check,ch,test
check=99  '×ÜÏîÄ¿Êý0¡«99
dim checked
redim  checked(check) '¸÷ÏîµÄÑ¡ÖÐ״̬
if not request.form("action")="editselect" then %> 
<form name="lzyy" action="" method="post">  
<input type="checkbox" name="selectAll" value="checkbox" onClick="selectIt()"><b>È«Ñ¡</b>
<input type="checkbox" name="invest" value="checkbox" onClick="selectIt()"><b>·´Ñ¡</b>
<%
for chi=1 to check
 ch="0"+cstr(chi)
 ch=right(ch,2)
%>
<input type="checkbox" name="test" value="<%=ch%>">ÏîÄ¿<%=ch%>&nbsp;
<%next%>
<input name="action" type="hidden" value="editselect" />  
<input type="submit" name="Submit" value="Ñ¡Ôñ" />  
</form> 
<%else%>
<BR>(»¹Ô­Ñ¡ÖÐÇé¿ö£º)<BR>
<%
test=request.form("test")
Response.Write "<br>Ñ¡ÖÐÖ®ºó£¬±£´æÔÚÊý¾Ý¿âÖеÄÎı¾(ÀýÈç01, 02, 03, 05 )£º" & test & "<br>"
'Ñ­»·È¡Öµ/²Ù×÷
'strCheck=Spli


Ïà¹ØÎĵµ£º

aspÈçºÎÈ¥³ýhtml±ê¼Ç

·½·¨Ò» : ½ûÓÃHTML
×î¼òµ¥µÄ·½·¨ÊÇÖ±½Ó½ûÓÃhtml±êÇ©¶ø²»ÓÃÒƳýËüÃÇ. ¿ÉÒÔʹÓÃReplace()º¯Êý. ÀýÈç:
strText = Replace(strText, "<script", "&lt;script", 1, -1, 1)
»òÕßÖ±½Ó½ûÓÃËùÓеÄhtml: 
strText = Replace(strText, "<", "&lt;")
ÕâÑù×öËäÈ»ºÜ°²È«,µ«ÏԵò»¹»ÓѺÃ.(Óû§Ìá½»µÄÎı¾»á±äµ ......

µ÷ÊÔJavaScript/VB Script½Å±¾³ÌÐò£¨ASPƪ£©

ÔÚÎÄÕµ÷ÊÔJavaScript/VB Script½Å±¾³ÌÐò£¨Wscriptƪ£©ÀïÃ棬ÓÐÍøÓÑÎÊÎÒÈçºÎµ÷ÊÔASPÀïÃæµÄ½Å±¾³ÌÐò£¬ÎÒ²»ÖªµÀËûÎʵÃÊǵ÷ÊÔASPÍøÒ³ÀïÃæµÄVBScript ASP´úÂ룬»¹ÊÇASP.NETÍøÒ³ÀïÃæµÄJavaScript/VBScript¿Í»§¶Ë´úÂ룬ËùÒÔÎÒ¾ÍÔÚÕâƪÎÄÕÂÀïÃæÏȽ«µ÷ÊÔASPÍøÒ³ÀïÃæµÄASP´úÂëÕâÖÖÇé¿ö¶¼½âÊÍһϰɡ£
¹À¼ÆASPÕâ¸öÍæÒÕÓõÄÈËÒѾ­ºÜÉÙ ......

AspÊý¾Ý²Ù×÷×é¼þ(°ÙÍò¼¶·ÖÒ³)(Ð޸İæ)

Ô­ÎÄÒýÓÃ:
http://www.17558.net/cmd.asp?act=tb&id=16&key=43840
Ô­ÎĵØÖ·:http://www.17558.net/post/16.html
żÊÇÒ»¸öµ×²ãµÄASP¼¼ÊõÈËÔ±(ÊôÓÚ°ë·³ö¼ÒµÄÄÇÖÖ,ÒÔÇ°ÊÇÒ»ÃûÍøÂç¼¼ÊõÈËÔ±),×î½ü²ÎÓëÖÆ×÷Ò»¸öCRMϵͳ,¼Ü¹»²ÉÓÃASP+SQL,¿¼Âǵ½ÒÔºóÊý¾Ý²éѯЧÂÊÎÊÌâ,ËùÒÔÔÚÍøÉÏÕÒÁËÒ»¸ö AspÊý¾Ý²Ù×÷×é¼þ(°ÙÍò¼¶·ÖÒ³) , ......

ÕßÕßÈí¼þ ASPÈçºÎ»ñÈ¡ÕæʵIPµØÖ·


ÔÚ ASP ÖÐʹÓàRequest.ServerVariables("REMOTE_ADDR") À´È¡µÃ¿Í»§¶ËµÄ IP µØÖ·£¬µ«Èç¹û¿Í»§¶ËÊÇʹÓôúÀí·þÎñ 
Æ÷À´·ÃÎÊ£¬ÄÇÈ¡µ½µÄ¾ÍÊÇ´úÀí·þÎñÆ÷µÄ IP µØÖ·£¬¶ø²»ÊÇÕæÕýµÄ¿Í»§¶Ë IP µØÖ·¡£ÒªÏë͸¹ý´úÀí·þÎñÆ÷È¡µÃ¿Í»§¶ËµÄÕæʵ 
IP µØÖ·£¬¾ÍҪʹÓÃ& ......

aspÊý×Ö·ÖҳʾÀý¹²Èý¸ö

<%
set rs=server.CreateObject(”ADODB.recordset”)
sql =”select * from ±í”
rs.open sql,conn,1,1
page=cint(request(”page”))
n=rs.RecordCount
rs.pagesize=12
m=cint(rs.pagecount)
if page=”" then
page=1
elseif page<1 then
page=1
end if
if cint(r ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ