ASP¸¡µãÐ͵ÄÎÊÌ⣡
ÎÒÓõÄÊÇSQL 2000 ÔÚÊý¾Ý¿âÖеÄÊý¾ÝΪ1.2£¬µ«ÔÚÏÔʾ³öÀ´ºóÊÇ1£¬ÕâÊÇÔõô»ØÊ£¬ÈçºÎ´¦Àí£¡
Ö±½ÓÏÔʾÔʼÊý¾ÝµÄ»°Ó¦¸Ã²»»á¶ªÊ§Ð¡ÊýλµÄ£¬
֮ǰÓÐ×ö¹ý¼ÆËã»ò¸ñʽ»¯Ö®ÀàµÄ²Ù×÷Â𣿹ؼü´úÂëÌùһϿ´¿´.
ÊDz»Êǰɸ¡µãÐÍת»»³ÉÕûÐÎÁË
ÊÇ·ñsqlÓï¾äÀïÓÐcastÁË¡£
Êý¾Ý¿âµÄÊÇ×Ö¶ÎaΪfloatÐÍ£¬ÖµÎª1.2
set view=......
set view=conn.execute(.....)
if view.eof and view.bof then
else
response.write view(a)
end if
ÏÔʾµÄΪ1
ÎªÊ²Ã´ÄØ£¿
sqlÓï¾äÔõôдµÄ
sql="select * from table where id=" & request("id")
response.write view(a) <-- aÊÇʲô£¿±äÁ¿?
ÎÒ´ò´íÁË£¬ÊÇresponse.write view("a")
ÊÔÊÔ¿´ Response.Write sql °ÑsqlÓï¾ä¿½±´µ½Êý¾Ý¿â»·¾³Ï²éѯ¿´¿´¸Ã×Ö¶ÎÊDz»ÊÇ1.2 ?
ÏÈ¿´Ò»ÏÂÄãµÄSQLÓï¾äÊÇʲô£¿
·ÖÇåÊÇSQLÓï¾äµÄÎÊÌ⻹ÊÇASP´úÂëµÄÎÊÌâ¡£
Ïà¹ØÎÊ´ð£º
×î½üÎÒͨ¹ýѧϰ£¬¸Ð¾õ×Ô¼ºÑ§µÄ»¹¿ÉÒÔÁË£¬Ïë×öÒ»ÍøÕ¾£¬µ«ÊÇÒ»Ö±¶¼ÕÒ²»µ½Ìâ²Ä£¬²»ÖªµÀ×öʲô£¬Ï£Íû¸÷λ¸øÎÒµãÒâ¼û£¬Èç¹ûÓÐÐèÇóÎĵµ¾Í¸üºÃÁË£¡Ï£Íû´ó¼Ò¸øÎÒµãÒâ¼û£¬Ð»Ð»£¡
ÏÈ×ö¸öÆóÒµÍøÕ¾°É£¬ÎҸоõÒ»¸öÈË×öÍøÕ¾²»ÊÊÒË ......
ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.
現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當ǰµÄµÇÈëÈË ......
½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£
µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£
¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£
¶÷ÔõôȡÏûÄØ£¿
Òªµ ......
Çë¸÷λ¸ßÊÖ°ï½â¾ö,¼±!!!
<script language="JavaScript" type="text/javascript">
function CheckInput(){
if (document.frm.loginname.length =0){
alert('ÇëÕý ......
ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏß±à¼Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏß±à¼Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½ÍøÕ¾È¥Ï¸ö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......