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

正文內(nèi)容

基于aspnet的校友通信錄設(shè)計畢業(yè)設(shè)計-文庫吧

2025-06-07 17:38 本頁面


【正文】 Del_flagChar1刪除標(biāo)志Sch_ereaVarchar20學(xué)校所在地Type_idInt4學(xué)歷編號YbVarchar20郵編Sch_Varchar50學(xué)校網(wǎng)址表48 各表之間的關(guān)系第五章 系統(tǒng)的詳細設(shè)計在系統(tǒng)設(shè)計中綜合考慮如下因素:⑴技術(shù)的先進性,符合網(wǎng)絡(luò)發(fā)展的趨勢;⑵滿足人們的需要,節(jié)省時間;⑶提高工作效率,滿足網(wǎng)絡(luò)現(xiàn)在和將來的數(shù)據(jù)傳輸需求;⑷實用性、靈活性、模塊化、擴充性、經(jīng)濟性、安全性。在設(shè)計階段,我們將集中研究系統(tǒng)的軟件實現(xiàn)問題,即在分析模型的基礎(chǔ)上形成實現(xiàn)環(huán)境下的設(shè)計模型。一般情況下,設(shè)計主要涉及系統(tǒng)設(shè)計、對象設(shè)計(或詳細設(shè)計)、數(shù)據(jù)庫設(shè)計和用戶界面設(shè)計等活動。 用戶可以以此登錄進去各項操作。 用戶沒有想注冊,可以通過此操作來注冊。 提過用戶來查詢自己所在的班級,當(dāng)自己所在的班不在時可以通過此處進去創(chuàng)建自己的班級,并成為此班級管理員。 通信錄 用戶在你自己所在的班級可以查看已經(jīng)注冊后同班的一些基本信息。用戶可以通過此處,給自己班上的人或事情進行留言,方便大家知道。 登錄界面即為系統(tǒng)首頁如圖51,從首頁根據(jù)輸入的用戶名、密碼來進行登錄操作,通過連接數(shù)據(jù)庫在userreg表中進行相應(yīng)驗證,如果表中有此用戶名和密碼,則驗證通過而進入系統(tǒng),如果表中沒有此用戶相應(yīng)信息,則驗證不能通過而繼續(xù)留在登錄首頁。圖51 登陸界面其核心代碼如下:namespace school{ public partial class WebForm1 : { protected void Page_Load(object sender, e) { if(!) { =。 =。 =。 } } override protected void OnInit(EventArgs e) { InitializeComponent()。 (e)。 } private void InitializeComponent() { } protected void btnOK_Click(object sender, e) { //建立與數(shù)據(jù)源的連接 string sqlconn = [SQLConnectionString]。 SqlConnection myConnection = new SqlConnection(sqlconn)。 string id=()。 string pass=()。 string sql=select * from userreg where login=39。+id+39。and password=39。+pass+39。 SqlCommand cmd = new SqlCommand(sql, myConnection)。 ()。 SqlDataReader rs=()。 if(()) { Session[uid]=rs[id].ToString()。 ()。 } else { =用戶名或口令錯誤!請重新輸入!。 =。 } ()。 } protected void btnreg_Click(object sender, e) { =。 =。 =。 ()。 } }}注冊頁面如圖52,該該模塊主要是用于想加入該網(wǎng)站的同學(xué)而設(shè)的注冊模塊,用戶需要填完這些才能登陸到校友網(wǎng)。如圖52其核心代碼如下: public partial class regedit : { //聲明文件中使用的表格表單、變量。 protected txtUpager。 private ArrayList alYear。 private ArrayList alMonth。 private ArrayList alDay。 int i。 protected Cal1。 protected void Page_Load(object sender, e) { if(!) { =true。 =false。 alYear=new ArrayList()。 alMonth=new ArrayList()。 alDay=new ArrayList()。 for(i=1980。i2010。i++) (())。 for(i=1。i=12。i++) (())。 for(i=1。i32。i++) (())。 =alYear。 ()。 =alMonth。 ()。 =alDay。 ()。 } } override protected void OnInit(EventArgs e) { InitializeComponent()。 (e)。 } protected void btnOK_Click(object sender, e) { if() { string sqlconn = [SQLConnectionString]。 SqlConnection myConnection = new SqlConnection(sqlconn)。 string sql=select * from userreg where login=39。+()+39。 ()。 SqlCommand cmd = new SqlCommand(sql, myConnection)。 SqlDataReader dr=()。 if(()) { =您輸入的用戶名已經(jīng)存在,請您選擇一個其他的名字!。 ()。 } else { ()。 =()。 =false。 =true。 =您輸入的信息是:+br。 +=登錄名:+()+br。 +=姓名:+()+br。 +=性別:+()+br。 +=生日:+()+年+()+月+()+日+br。 +=E_mail:+()+br。 +=辦公電話:+()+br。 +=家庭電話:+()+br。 +=移動電話:+()+br。 +=工作單位:+()+br。 +=通訊地址:+()+br。 +=郵政編碼:+()+br。 } } } public void btnSave_Click(object sender, e) { if() { string rs=。 string sqlconn = [SQLConnectionString]。 SqlConnection myConnection = new SqlConnection(sqlconn)。 ()。 string sql=select max(id)+1,count(*) from userreg。 SqlCommand cmd1 = new SqlCommand(sql, myConnection)。 SqlDataReader myReader。 myReader = ()。 while (()) { if(myReader[1].ToString()!=0) { rs += myReader[0].ToString()。 } else { rs=1。 } } string strSQL=。 strSQL=INSERT INTO userreg(id,name,login,password,sex,bth,regdate,work_tell,home_tell,mobile_tell,address,yb,,job) VALUES(39。 strSQL+=rs+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()++()++()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。,39。 strSQL+=()+39。)。 ()。 SqlCommand cmd2 = new SqlCommand(strSQL, myConnection)。 ()。 strSQL=select id from userreg where login=39。+()+39。 SqlCommand cmd3 = new SqlCommand(strSQL, myConnection)。 SqlDataReader dr=()。 while(()) { Session[uid]=dr[id]。 } ()。 ()。 ()。 } } protected void btnReturn_Click(object sender, e) { =true。 =false。 } protected void Date_SelectIndexChanged(object sender, e) { int[] numbers = {31,28, 31, 30, 31,30,31,31,30,31,30,31}。 if(((())%4)==
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1