aspÃÜÂëÐÞ¸ÄÎÊÌâ - Web ¿ª·¢ / ASP
ÏÖÔÚµÄÎÊÌâÊDz»¹ÜÄãÊäÈëʲô£¬µã¡°È·¶¨¡±¾ÍÖ±½ÓÊÇÏÔʾ¡°ÇëÖØÐÂÊäÈëÍêÕûµÄÐÅÏ¢£¡¡±£¬»¹ÓÐÐè²»ÐèÒªÔÚ½¨Ò»¸ö±í°üº¬£¨ÃÜÂ룬ÐÂÃÜÂ롣ȷÈÏÃÜÂ룩µÄ£¬²ËÄñµÄÎÒʵÔÚÊǸ㲻¶®£¬Çó¸÷λ¸ßÈ˰ïæ°¡£¡£¡¼±~~~
<%
dim sql
dim rs
%>
<%
dim pass,username,pwd,newpwd,rnewpwd
pass=session("password")
username=request("user_ID")
pwd=request("pwd")
newpwd=request("newpwd")
renewpwd=request("rnewpwd")
If username="" or pwd="" or newpwd="" or renewpwd="" Then
response.write "<script>alert('ÇëÖØÐÂÊäÈëÍêÕûµÄÐÅÏ¢£¡');history.back();</script>"
End If
If newpwd <> renewpwd Then
response.write "<script>alert('ÐÂÃÜÂëÓëÈ·ÈÏÐÂÃÜÂë²»Ò»Ö£¬ÇëÖØÐÂÊäÈ룡');history.back();</script>"
End If
dim Strconn1
Strconn1="Driver={SQL Server};Server=127.0.0.1;Uid=dd;Pwd=111;DataBase=abc"
set conn=server.CreateObject("ADODB.connection")
conn.open Strconn1
set rs=server.CreateObject("adodb.recordset")
sql="select * from message where password='"&pwd&"' and user_ID='"
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
µ÷ÕûÁËÕâÀÄÇÀï³öÎÊÌâ¡£
ÓÐûÓÐʲôºÃµÄ·½·¨£¬Ïñµ÷Õû¶Ô»°¿òÒ»Ñù£¿£¿£¿£¿
ÕÒ¸öרÃÅ×öÒ³ÃæµÄ
ÔÚdreamweaverÀïµ÷¡£¡£¡£Ò²¿ÉÒÔÖ±½Ó¿ØÖÆHTML´úÂë
ȷʵʹ¿à ¸ÐͬÉíÊÜѽ
¹þ¹þ ¼á¾ö·¹ý¡£
ÓÃDW°É£¬VS¸ãÉè¼Æ ......
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......