aspÖÐÈçºÎµ¥»÷ij°´Å¥ºó¼ÌÐøÖ´ÐÐÏÂÒ»¶Î´úÂë
ÎÒµÄÒâ˼ÊÇaspÖÐÈçºÎµ¥»÷ij°´Å¥ ¾Í¼ÌÐøÖ´ÐÐÏÂÒ»¶Î´úÂë
ÔÚÍøÒ³ÀÏÈÖ´ÐÐÒ»¶Î´úÂ룬Óöµ½µ¥»÷ij°´Å¥Ê±¾Í£¬¼ÌÐøÍùÏÂÖ´ÐкóÃæµÄ´úÂë¡«
aspÊÇ·þÎñÆ÷¶Ë´úÂ룬ÊÇÓÉÇëÇó´¥·¢µÄ¡£
Ҫô¾Í·Ö³É2¸öaspÎļþ£¬Óɿͻ§¶Ë¸ù¾ÝÇé¿ö·Ö±ðµÝ½».
ÎÒ¾ÍÊDz»Ïë·ÖÀëÁ½¸öÒ³Ãæ. ÄÜ·ñÒ»¸öÒ³ÃæÊµÏÖ?
ÔÚ°´Å¥ÉÏ Óøöjs°¡
»òÕßÀí½âΪ£ºÓøöif ¼ì²âÌõ¼þ£¬Èç¹ûûÓÐÌá½»±íµ¥£¬ÄÇôִÐÐÏÂÒ»¶Î¡£
¾ÍÊDz»ÏþµÃÔõôд..ÄǶδúÂëÊÇaspµÄÉú³É´úÂë...jsÀïÄÜÓÃô ?
<% xxxxxxxxxxxxxx %>
ÒªÔõÃ´Ð´ÄØ
jsÊǿͻ§¶ËµÄ£¬aspÊÇ·þÎñÆ÷¶ËµÄ£¬Á½ÕßÖ´ÐеÄʱ¼ä£¬Î»Öã¬ÒýÇæ¶¼ÊDz»Í¬µÄ£¬Ã»Ì«´ó¹ØÏµ¡£
Ҫô¾ÍÓÃjsµÝ½»²»Í¬µÄ²ÎÊý£¬aspÒ³Ãæ¸ù¾ÝRequest("xx") = "xx"ÅжÏÀ´Ö´Ðв»Í¬µÄ´úÂë.
...ÎÒÏÖÔÚ²»»áдÕâÑùµÄ´úÂë..ÐÂÊÖ..û°ì·¨
ÈçÐèÒªÔĶÁ¸Ã»Ø¸´£¬ÇëµÇ¼»ò×¢²áCSDN!
Ïà¹ØÎÊ´ð£º
HTML code:
dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......
ÎÒ×°µÄÊÇwindows7 £¬Êý¾Ý¿âÏëÓÃsql server 2008Á¬asp£¬²»¹ýÎÒ²»ÖªµÀsql server 2008µÄÓû§ÃûºÍÃÜÂëÁË£¬ÏëÓÃwinÑéÖ¤£¬ÊÔÁ˼¸±éû³É¹¦£¬Çë´ó¼Ò°ïæ¡£
˳±ãÎÊһϣ¬ÎÒÔõôÄܲé³öÀ´×Ô¼ºsql 2008µÄÓû§Ã ......
ÎÒÒª²éѯÁ½ÕűíµÄÊý¾Ý£¬Ò»ÕűíÒ»ÌõÊý¾Ý¶ÔÓ¦ÁíÒ»ÕűíµÄ¶àÌõÊý¾Ý£¬SQLÊý¾Ý¿â
±í1£º ±í2£º
id name ... ctrI ......
ÎÒÔÚÒ»¸öä¯ÀÀÆ÷Àï,ÓõÚÒ»¸öÓû§µÇ¼ÁËÒ»¸öÍøÕ¾,È»ºóµã"Í˳öµÇ¼",È»ºóÓÖÓõڶþ¸öÓû§µÇ¼ÁËÕâ¸öÍøÕ¾,ÔÙµã"Í˳ö"
×¥°ü¿´µ½µÄ½á¹ûÊÇ,µÚÒ»´Î·¢Ë͵ÄPOSTÇëÇóÖÐ,httpÍ·²¿Ã»ÓдøCOOKIE×Ö¶Î,·þÎ ......