【正文】
It has also provided a unified Web development model, produces each kind of service including the development personnel which the enterprise level Web application procedure needs. The grammar is patible in the very great degree with ASP, simultaneously it also provides one kind of new programming model and the structure, may produce elastic and the stable better application procedure, and provides the better safekeeping of security. May through gradually increase the function in the existing ASP application procedure, strengthens the ASP application procedure as necessary the function. was already translated, based on NET the environment, was allowed to use any and NET the patible language (including Visual Basic NET, C and JScript NET.) Creation application procedure. Moreover, any application procedure all may use entire NET Framework. The development personnel may conveniently obtain these technical the merit, including the mon language movement storehouse environment, the type which is entrusted with is safe, inherits and so on. may seamless and WYSIWYG the HTML editor and other programming tools (including Microsoft Visual Studio NET) works together. This not only causes Web to develop conveniently, moreover also can provide all merits which these tools must provide, may use for including the development personnel the server to control to tow puts the debugging support which and pletely integrates to Web page GUI.Microsoft was has designed like this some strategies: Easy to write the structure clear code, the code is easy to entrust with heavy responsibility with sharing, may use translation class language pilation and so on, the goal is lets the programmer be easier to develop t。*老師治學嚴謹,工作認真,每當我在設計中遇到困難時,老師都會及時的給予悉心的指導和幫助,使我能夠順利的完成畢業(yè)設計。通過詢問老師和同學,看書查資料,問題得到解決,感覺自己充實了許多。懇請各位評閱老師提出寶貴的意見,本人表示誠摯的感謝。在本次畢業(yè)設計過程中,在老師的耐心指導下及同學們幫助下,基本上完成了預定目標。從技術角度看,智能化住宅小區(qū)包容了機械、電子、建筑及控制等各種行業(yè)的新技術,因此,智能化住宅小區(qū)物業(yè)管理必將向高性能化、高智能化及城市組網三方面發(fā)展。與世界發(fā)達國家相比,我國的物業(yè)管理水平還有很大的差距。在貫通知識的同時,也培養(yǎng)了開發(fā)程序的能力。結 論在本次畢業(yè)設計中體會最深的是:軟件的開發(fā)設計是一項細膩而復雜的工作,它需要設計者有著扎實的專業(yè)基礎知識和相關的編程經驗,從課題的提出到調查和需求分析以及軟件的最終實現(xiàn),無不體現(xiàn)所有知識的融會貫通。 }catch(Exception E) { throw new Exception()。 OleDbCommand cmd = new OleDbCommand(sSQL, )。首先在名稱對應的文本框中填寫要添加的內容,然后單擊“增加”按鈕,就可以在相應的代碼表中增加一條記錄,具體實現(xiàn)代碼如下:private void bt_Add_Click(object sender, e){ getData()。 BindGrid()。 BindGrid()。 } catch(Exception E) {ShowErrMsg()。 OleDbCommand cmd = new OleDbCommand(sSQL, )。 sWhere= where +f1+=+clID。 getData()。 string sName=((TextBox)[2].Controls[0]).Text。 int index=。 BindGrid()。在上述的頁面中,修改記錄時,一般會跳轉到相應的修改頁面進行修改,然后保存。在頁面中用戶可以對數據庫中的代碼表執(zhí)行查看、添加、刪除、修改等操作,還可以實現(xiàn)按照某一字段進行排序、翻頁等功能。在頁面中用戶可以對設備明細信息執(zhí)行查看、添加、刪除、修改等操作,還可以按照某一字段進行排序、翻頁等功能?!跋到y(tǒng)管理”鏈接時,“”, main部分的src值為“”。在頁面中用戶可以對設備維修信息執(zhí)行查看、添加、刪除、修改等操作,還可以按照某一字段進行排序、翻頁等功能。在頁面中用戶可以對設備明細信息執(zhí)行查看、添加、刪除、修改等操作,還可以按照某一字段進行排序、翻頁等功能?!霸O備管理”鏈接時,“”,main部分的src值為“。 住戶管理中的電話資料頁面的設計與實現(xiàn)當單擊界面左側的“電話資料”鏈接時, ,該頁面的設計與實現(xiàn)同房屋基本信息頁面的設計與實現(xiàn)相似,只是在數據庫操作時使用的SQL語句不同。 } } 住戶管理中的入住房屋信息頁面的設計與實現(xiàn)當單擊界面左側的“入住房屋信息”鏈接時,該頁面的設計與實現(xiàn)同房屋基本信息頁面的設計與實現(xiàn)相似,只是在數據庫操作時使用的SQL語句不同。 (onMouseOut,=currentcolor)。CCCCDD39。 } }當用戶在頁面中移動鼠標時,記錄顏色隨之變化該功能主要是由d1_ItemDataBound_1()函數實現(xiàn)的,其具體代碼為:private void DataGrid1_ItemDataBound_1(object sender, e){ if ( = 0){ (onMouseOver,currentcolor=。 }catch {//比如查詢時過濾掉了很多,ViewState[NowPage]中保存的頁數已經偏大 = 。//在當前頁排序,排序后仍然在當前頁(最后確定顯示哪一頁) if (ViewState[NowPage] != null) = (ViewState[NowPage].ToString().Trim())。 }//向視圖應用排序信息(再排序) if (ViewState[SortExpression] != null) = ViewState[SortExpression].ToString().Trim()。 DataView dv = 。 BindDataGrid()。除上述功能外,本頁面中添加了以下功能:翻頁功能、當鼠標移動到某條記錄上時該行變色。nbsp。nbsp。住戶基本信息頁面如圖58所示:圖58 住戶基本信息頁面當單擊界面左側的“住戶基本信息”鏈接時,在該頁面中主要是使用了DataGrid、TextBox、DropdownList和Button控件。 住戶管理模塊 在住戶管理模塊里主要包括了住戶基本信息頁面、入住房屋信息頁面、空出房屋信息頁面和用戶的電話資料信息頁面的設計與實現(xiàn)。查詢時限制條件為樓號不能為空,但是房間號可以為空。相應的需要在頁面中添加DropdownList,TextBox和Button控件。對于這兩個頁面的相似之處不再介紹,下面主要講解查詢功能的設計與實現(xiàn)。 物業(yè)管理中的房間信息頁面的設計與實現(xiàn)當單擊界面左側的“房間信息”鏈接時,顯示房間信息頁面如圖56所示。 } (sFormAction)。 try { ()。 sSQL+=sWhere。 }else{ sWhere= where ID= + (, )。 string p2_Type=((ddl_Type), ) 。 string p2_Phone=((btPhone), ) 。 string p2_P1=((btP1), ) 。 string p2_AllName=((btAllName), ) 。 string sWhere=。 }當單擊頁面中“增加”按鈕時,(),單擊“保存”按鈕保存記錄。 else ViewState[Sort]= 。 }catch(Exception e) { throw new Exception()。 OleDbCommand cmd = new OleDbCommand(sSQL, )。 } } private void Delete(int mrID){ string sWhere = ID= + mrID。 GridBind()。 try{ mrId=([0].())。 } }private void DataGrid1_DeleteCommand(object source, e){(2)。你能確定要刪除此記錄嗎?39。 TempImg=()(ib_delete) 。 } }當單擊頁面表格中的首先彈出一個確認對話框,然后根據確認刪除該記錄。)。 try{ mrId=([0].())。private void DataGrid1_EditCommand(object source, e){ (2)。 } 物業(yè)管理中的設施概況頁面的設計設施概況頁面如圖54所示:圖54設施概況信息頁面當單擊界面左側的“設施概況”鏈接時,在該頁面中主要使用了DataGrid控件,該控件是在設計與數據庫相關的系統(tǒng)時經常用到的控件之一。 } catch(Exception E) { ShowErrMsg()。 OleDbCommand cmd = new OleDbCommand(sSQL, )。 sSQL+=,+sField+=+(tempBox[i2].Text)。i=18。 []tempBox={TextBox2,TextBox3,TextBox4,TextBox5,TextBox6,TextBox7,TextBox8,TextBox9,TextBox10,TextBox11,TextBox12,TextBox13,TextBox14,TextBox15,TextBox16,TextBox17,TextBox18}。 if ( 0) { sWhere = where ID= + (, )。其中“保存”按鈕的功能是通過bt_Save_Click()函數實現(xiàn)的,其具體代碼如下:private void bt_Save_Click(object sender, e){ string sSQL=,sField。在該頁面中主要用到的控件是TextBox控件和Button,由于該頁面的html較簡單且篇幅有限,不再列出。i++) { tempLabel[i2].Text = 。 for(int i=2。i++){ tempLabel[i2].Text = row[i].ToString()。 for(int i=2。 DataRow row。 OleDbDataAdapter dsCommand = new OleDbDataAdapter(sSQL, )。 if(iSel!=0){ =true。其具體的實現(xiàn)代碼如下:private void ddl_Area_SelectedIndexChanged(object sender,