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

正文內(nèi)容

網(wǎng)上訂餐管理系統(tǒng)的設(shè)計與實現(xiàn)課程設(shè)計說明書-閱讀頁

2025-06-21 22:06本頁面
  

【正文】 。 = pds1。 } public string subTitle(object obj) { string title = ()。 } else { return title。 } protected void Button1_Click(object sender, EventArgs e) { if ([name] != null) { if ([selectOne] == null) { ()。 string[] s1 = (39。)。 j(。 + [name].Value + 39。 int i = ((sql1).ToString())。 課程設(shè)計說明書用紙 17 string sql2 = update DD set Dnum=Dnum+1 where Cid=+s1[j]。 } else { string sql3 = insert into DD(Hid,Cid,Dnum,Ddate,Ydate) values(39。,39。,1,39。,39。)。 } } } } else { ()。 } else { string a = [selectOne].ToString()。,39。 for (int j = 0。 j++) { string sql1 = delete from DD where Cid= + s1[j]。 if (i0) {()。刪除失敗,請重新嘗試! )/script)。 } } protected void byname_Click(object sender, EventArgs e) { if (!= ) { string sql2 = sa。 par[0] = new SqlParameter(a, )。 DataTable dt = [ta]。 ()。 }} protected void byprice_Click(object sender, EventArgs e) { if ( != amp。!=) { string sql3 = select * from searchbyprice(++,++)。 = dt3。 } else { = 請輸入價格范圍 !。 圖 新聞顯示界面 顯示新聞頁面代碼如下: public partial class ShowNews : { protected void Page_Load(object sender, EventArgs e) { if (!) { string sql = update NEWS set hits=hits+1 where NewsId= + [NewsId].ToString()。 BindToRepeater()。 = (sql).Tables[0]。 }} 用戶 主頁 模塊 用戶主頁模塊通過左邊超鏈接能實現(xiàn)查看個人詳細(xì)信息、訂單信息以及修改個人信息的功能 用戶主頁模塊 效果 如 下: ( 1) 我的信息頁面 ,效果如圖 圖 我的信息界面 課程設(shè)計說明書用紙 19 我的信息頁面 的主要代碼: public partial class Myinformation : { string s。 if (!) { BingToRepeater()。 DataTable dt = (sql).Tables[0]。 ()。 我的信息頁面 ,效果如圖 圖 我的訂單界面 我的訂單頁面代碼: public partial class MyOrder : { string s。 BingToRepeater()。 } } public void BingToRepeater() { string sql = select DD.*,Cprice,Dcount=Dnum*Cprice from DD,CY where 課程設(shè)計說明書用紙 20 = and Hid= + s。 = dt。} public string getDate(object obj) { return (()).ToShortDateString()。 int i= (sql)。 ()。}}} (2) 修改資料頁面 此界面 實現(xiàn)顯示會員信息和修改信息兩項功能 。 protected void Page_Load(object sender, EventArgs e) { if (!) { if ([name]!= null) { s = [name].()。 DataTable dt=(sql).Tables[0]。//顯示姓名 課程設(shè)計說明書用紙 21 = [0][1].ToString()。//顯示地址 = [0][3].ToString()。//顯示性別 } } } protected void Button1_Click(object sender, EventArgs e) { string sql = update HY set Hname=39。,Hpwd=39。,Hadd=39。,Hphone=39。,Hsex=39。 where Hid= + [name].()。 if (r 0) { = 修改成功! 。 } }} 管理員登陸 模塊 管理員登陸模塊要求管理員通過用戶名和密碼進(jìn)入餐飲管理頁面,實現(xiàn)對餐飲、新聞、會員、訂單、數(shù)據(jù)庫的操作 。++39。++39。 if (i 0) { HttpCookie cookie = new HttpCookie(name)。 (cookie)。 } else 課程設(shè)計說明書用紙 22 { ()。 管理員注冊模塊 ,效果如圖 圖 管理員注冊 管理員注冊 模塊的主要代碼: public partial class Admin_GAdd : { protected void Button1_Click(object sender, EventArgs e) { string sql1 = select count(*) from GLY where Gid=+。 if (r 0) { ()。 + + 39。 + + 39。 + + 39。 + + 39。 int i = (sql)。 } else { ()。 圖 找回密碼 找回密碼 模塊的主要代碼為: protected void Button1_Click(object sender, EventArgs e) { string sql = select count(*) from GLY where Gid=39。 and Gname=39。 and Gphone=39。 int i = ((sql).ToString())。 string pwd = (sql1).ToString()。 } else { = 用戶信息填寫錯誤!請重新輸入! 。 管理員修改密碼模塊 ,效果 如圖 所示 圖 管理員修改密碼 修改密碼模塊代碼如下: protected void Button1_Click(object sender, EventArgs e) { string sql = select count(*) from GLY where Gid=39。 and Gname=39。 and Gphone=39。 int i = (sql)。++39。 int r = (sql1)。 } else { = 操作失敗, 請重試! 。} } 課程設(shè)計說明書用紙 25 管理員管理模塊 管理員登陸成功后通過此模塊能通過超鏈接實現(xiàn)對餐飲、新聞、會員、訂單、數(shù)據(jù)庫備份等操作 。 餐飲管理模塊 ,效果如圖 所示 圖 餐飲管理頁面 此界面在刪除餐飲信息時,通過觸發(fā)器實現(xiàn)從訂單表中刪除與被刪餐飲相關(guān)的所有內(nèi)容。}} public void BindToGridview() { string sql = select * from CyManage。 = dt。} protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { ImageButton ima = [].FindControl (ImageButton1) as ImageButton。 string sql = delete from CY where Cid= + key。 if (j 0) { =刪除成功! 。} else { = 刪除失??! 。 BindToGridview()。 }} ()添加餐飲界面如圖: 通過輸入餐飲信息往餐飲表中添加新餐飲信息。 + + 39。 + 課程設(shè)計說明書用紙 27 + 39。 + + 39。 + + 39。 int i = (sql)。 } else { ()。 新聞管理模塊 ,效果如圖 所示 圖 新聞管理頁面 本模塊代碼如下: public partial class Admin_NewsManage : { protected void Page_Load(object sender, EventArgs e) { if (!) { BindToGridview()。 = (sql).Tables[0]。} protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { int key = ([].Cells[0].Text)。 int i = (sql)。 BindToGridview()。 } } protected void Button1_Click1(object sender, EventArgs e) { ()。 發(fā)布、編輯新聞模塊 ,效果如圖 所示 圖 發(fā)布、編輯新聞頁面 此模塊代碼如下: public partial class Admin_ShowNews : { protected void Page_Load(object sender, EventArgs e) { if (!) { if ([NewsId] != null) { = true。 int i = ([NewsId].ToString())。 DataTable dt = (sql).Tables[0]。 = [0][1].ToString()。 = tr
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1