freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

電子商務(wù)實(shí)驗(yàn)報(bào)告-閱讀頁

2024-08-22 05:39本頁面
  

【正文】 Args e) { if(Session[USER] == null) = 0。 } protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { if (((select * from tbuser where name=39。 and password=39。, , )) == null) { (script language=javascriptalert(39。)。 } else { Session[USER] = 。 } }} 用戶注冊(cè)頁面代碼:% Page Language=C AutoEventWireup=true CodeFile= Inherits=UserReg %!DOCTYPE html PUBLIC //W3C//DTD XHTML Transitional//EN html xmlns=head runat=server title 用戶注冊(cè) /title/headbody form id=form1 runat=server div amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。 用戶注冊(cè)br /amp。amp。amp。 br /amp。amp。amp。amp。 用戶名:asp:TextBox ID=tbname runat=server/asp:TextBox br /amp。amp。amp。amp。 密amp。amp。amp。 碼:asp:TextBox ID=tbpassword runat=server/asp:TextBox br /amp。確認(rèn)密碼:asp:TextBox ID=tbpassword1 runat=server/asp:TextBoxamp。br /amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。 asp:Button ID=Button1 runat=server onclick=Button1_Click Text=注冊(cè) /amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。 asp:Button ID=Button2 runat=server style=marginbottom: 0px Text=取消 / br / /div /form/body/html注冊(cè)的判斷代碼:using System。using 。using 。{0}39。{0}39。{1}39。注冊(cè)成功!39。=39。/script)。注冊(cè)失敗,該用戶已存在!39。/script)。注冊(cè)失敗,該用戶已存在!39。/script)。兩次輸入密碼不正確!39。/script)。用戶名和密碼不能為空!39。/script)。nbsp。nbsp。nbsp。nbsp。 } .style2 { width: 158px。 height: 22px。 } /style/headbody form id=form1 runat=server div asp:GridView ID=GridView1 runat=server AutoGenerateColumns=False DataKeyNames=gid DataSourceID=SqlDataSource2 Columns asp:BoundField DataField=gid HeaderText=gid ReadOnly=True SortExpression=gid / asp:BoundField DataField=gname HeaderText=gname SortExpression=gname / /Columns /asp:GridView asp:SqlDataSource ID=SqlDataSource2 runat=server ConnectionString=%$ ConnectionStrings:SQLConnstr1 % SelectCommand=SELECT [gid], [gname] FROM [goods] WHERE ([gid] = gid) SelectParameters asp:QueryStringParameter DefaultValue=0 Name=gid QueryStringField=gid Type=String / /SelectParameters /asp:SqlDataSource table class=style1 tr td class=style3 購買數(shù)量/td td class=style4 asp:TextBox ID=tbshul runat=server Width=266px/asp:TextBox /td /tr tr td class=style2 聯(lián)系方式/td td asp:TextBox ID=TextBox2 runat=server Width=264px/asp:TextBox /td /tr tr td class=style2 聯(lián)系地址/td td asp:TextBox ID=tbaddss runat=server Width=263px/asp:TextBox /td /tr tr td class=style2 amp。amp。/td tdamp。amp。 asp:Button ID=Button1 runat=server onclick=Button1_Click Text=確認(rèn)購買 style=height: 26px /amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。 asp:Button ID=Button2 runat=server Text=取消 Width=89px / /td /tr /table /div /form/body/html購買判斷代碼:using System。using 。using 。 } protected void Button1_Click(object sender, EventArgs e) { if (Session[USER] == null) { (scriptalert(39。)。39。 } if (() != || () != ) { if (((INSERT INTO dingdan(did,dshumu,daddr,dtime) VALUES(39。,39。,39。,39。), [0].Cells[0].Text, (), (), (yyyymmdd hh:mm:ss))) == 1) { (this, 購買成功)。 } } else { (this, 輸入數(shù)據(jù)不能為空)。網(wǎng)站主頁。 商品瀏覽。 購買商品(psp,數(shù)量1)。在數(shù)據(jù)庫設(shè)計(jì)時(shí)沒有考慮完全,使得在網(wǎng)站運(yùn)行和信息傳遞配合時(shí)有所缺陷,字段的定義沒有設(shè)計(jì)好,造成了關(guān)系的不明確,這也是這次學(xué)到的一點(diǎn)東西,不過這些問題也讓我知道了設(shè)計(jì)一個(gè)好的數(shù)據(jù)庫對(duì)于一個(gè)好的網(wǎng)站來說意味著什么,作用是多么的重要。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1