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

正文內(nèi)容

基于web的學(xué)生信息管理系統(tǒng)論文-資料下載頁

2024-12-16 02:49本頁面

【導(dǎo)讀】大的發(fā)揮,為學(xué)校工作提供了更多的方便。該系統(tǒng)使用Microsoft公司的VisualC#.NET開發(fā)前端應(yīng)用程序,SQLServer2021建立并維護后臺數(shù)據(jù)庫。用戶只需將應(yīng)用程序放置在服務(wù)。器中,并配置好數(shù)據(jù)庫,便可以通過互聯(lián)網(wǎng),在其它任何一臺計算機上,裝任何軟件,所有操作結(jié)果都會通過網(wǎng)絡(luò)傳回服務(wù)器。信息進(jìn)行管理勢在必行。對于一個學(xué)校來說,利用計算機支持學(xué)校高效率完成學(xué)籍維護、應(yīng)用程序,可通過網(wǎng)絡(luò)實現(xiàn)程序共享,更適應(yīng)于現(xiàn)代軟件發(fā)展的潮流。統(tǒng)的使用效率得到了最大的發(fā)揮。給出程序的總體設(shè)計,劃分各模塊,確定其功能和組織結(jié)構(gòu),并對數(shù)據(jù)庫、出錯處理和安全性進(jìn)行分析。細(xì)設(shè)計,并對程序的安裝部署進(jìn)行說明。第五章.在程序設(shè)計小節(jié)中指出程序中存在的不足,并給出相應(yīng)的解決方案。于沒有相應(yīng)軟件支持,各班的學(xué)生信息處于單獨維護階段,無法統(tǒng)一進(jìn)行管理。用于大中規(guī)模的數(shù)據(jù)量要求。富的數(shù)據(jù)類型,又結(jié)合了VB的簡單實用,可視化的編程環(huán)境,更易于程序開發(fā)。

  

【正文】 //附錄 2:學(xué)生管理模塊代碼 //============================================================================================== // 項目名稱: XueShengXiTong (學(xué)生信息管理系統(tǒng)) // 表單名稱: XueShengGuanLi (學(xué)生管理模塊) // 功能:完成學(xué)生信息進(jìn)行添加 ,修改 ,刪除 ,并 按照查詢表單返回的查詢條件 ,查詢學(xué)生信息 。 // // =====================摘要 =================== // () 重置會話; // () 數(shù)據(jù)綁定 // ()設(shè)置 DataGrid狀態(tài) // (string StrCheck)查詢有沒有相應(yīng)記錄 // ()數(shù)據(jù)填充 // ()清空文本框 // () 轉(zhuǎn)到下一頁 // ()轉(zhuǎn)到上一頁 // ()轉(zhuǎn)到首頁 // ()轉(zhuǎn)到末頁 // (string msg)彈出提示信息 // (bool pSaved)根據(jù)授權(quán)判斷按鈕和文本框的呈現(xiàn) // (DataGrid Dtg_Student,string SqlDelete,string sqlSelect,DropDownList Doplst_Page,Label Lab_PageCount)刪除指定數(shù)據(jù) // ()動態(tài)綁定班級 using System。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 namespace studentsystem { public class XueShengGuanLi : { protected Label13。 protected Label12。 protected Label11。 protected Label10。 protected Label9。 protected Label8。 protected Label7。 protected Txt_Stu_name。 protected Label5。 protected Label3。 protected Label2。 protected Label6。 protected Label1。 protected Label14。 protected Dtg_Student。 protected Txt_Stu_code。 protected Txt_Stu_id。 protected Txt_Telephone。 protected Txt_Native_Place。 protected Txt_Nation。 protected Txt_Address。 protected Txt_Stu_note。 protected Imgbtn_Add。 protected Imgbtn_Edit。 protected Imgbtn_Delet。 protected Imgbtn_Save。 protected Imgbtn_PrintView。 protected Imgbtn_Select。 protected Imgbtn_Back。 protected Doplst_Grade_id。 protected Doplst_Class_id。 protected Doplst_Polity。 protected Label15。 protected Label16。 protected Label17。 protected Label19。 protected Lab_PageCount。 protected Doplst_Sex。 protected Imgbtn_First。 protected Imgbtn_Prior。 protected Imgbtn_Next。 protected Imgbtn_Last。 protected Doplst_Page。 protected Label18。 protected Label20。 protected Label21。 protected Label22。 protected Label4。 protected Txt_Birth_Year。 protected Txt_Birth_Month。 protected Txt_Enter_Year。 protected Txt_Enter_Month。 protected Imgbtn_Cancel。 protected Label23。 //===========================連接數(shù)據(jù)庫等工作 ======================================= static string ConnStr=[ConnString]。 //連接數(shù)據(jù)庫 static string sqlSelect=select a.* from XT_Student a 。 static string SqlDelete=delete XT_Student where Stu_id= 。 static SqlConnection Conn=new SqlConnection(ConnStr)。//把 ConnStr實例化 public static DataSet Ds=new DataSet()。 //實例化數(shù)據(jù)集 SqlDataAdapter Da=new SqlDataAdapter()。 //===========================初始化頁面 =========================== private void Page_Load(object sender, e) { // 在此處放置用戶代碼以初始化頁面 if(!IsPostBack) { ClearSession()。 string SqlSelect=。 SqlSelect=sqlSelect。 if (Session[XSGLChaXun]!=null) { //當(dāng)頁面加載時,如果會話中傳入了查詢條件,則為查詢語句中添加該條件 SqlSelect=SqlSelect + where + Session[XSGLChaXun].ToString ().Trim ()。 Session[XSGLChaXun]=null。 } ()。//清空數(shù)據(jù)集 =new SqlCommand ()。//建立于數(shù)據(jù)庫的連接 =Conn。 =Select * from XT_Grade 。//設(shè)置查詢語句 (Ds,Grade)。 //填充數(shù)據(jù) DataSet SessionDs=new DataSet ()。 =SqlSelect+ Order By 。 (SessionDs,Student)。 Session[XSGLDataSet]=SessionDs。//建立數(shù)據(jù)集會話 ()。//綁定年級下拉列表 DataBinded()。//幫定 DataGrid數(shù)據(jù)集 if(((DataSet)Session[XSGLDataSet]).Tables[Student].!=0) { //當(dāng)數(shù)據(jù)集中有記錄時,指向第一條記錄 =0。 } FillText()。//向頁面中填充數(shù)據(jù). SetGrid()。//指明數(shù)據(jù)頁數(shù)和當(dāng)前頁數(shù) } ()。 } //=======================事件響應(yīng)程序 ================================================ //=================選擇項 ========================= private void Dtg_Student_SelectedIndexChanged(object sender, e) { FillText()。 } //=================新增 =========================== private void Imgbtn_Add_Click(object sender, e) { Session[XSGLpInsert]=0。 SetTextNull()。 Session[pSaved]=false。 SetCommState((Session[pSaved].ToString()))。 } //==================修改 ======================== private void Imgbtn_Edit_Click(object sender, e) { Session[XSGLpInsert]=1。 Session[pSaved]=false。 SetCommState((Session[pSaved].ToString()))。 } //=================刪除 ========================== private void Imgbtn_Delet_Click(object sender, e) { int m=0。 int end=。 for(int j=0。j=end。j++) if([j].Cells[0].Controls[1] is CheckBox) { if(([j].Cells[0].Controls[1] as CheckBox ).Checked ) { //當(dāng)有項被選中時,執(zhí)行刪除指令 m=1。 break。 } } if(m!=0) { Delete(Dtg_Student,SqlDelete,sqlSelect,Doplst_Page,Lab_PageCount)。 DataBinded()。 FillText()。 SetGrid()。 } else ShowMessage(沒有選擇項,請選擇要刪除的項. )。 } //===============保存 =============================== private void Imgbtn_Save_Click(object sender, e) { if(()==||()==)//判斷輸入的合法性 { ShowMessage(學(xué)號和學(xué)生姓名不能為空. )。 return。 } if(!(()==amp。amp。()==||==4amp。amp。(()==|| ()0amp。amp。()=12))) { ShowMessage(學(xué)生出生日期輸入有誤 ,請重新輸入 .)。 return。 } else if(!=2) =0+。 if(!(()==amp。amp。()==||==4amp。amp。(()==|| ()0amp。amp。()=12))) { ShowMessage(學(xué)生入學(xué)時間輸入有誤,請重新輸入. )。 return。 } else if(!=2) =0+。 SqlCommand Cmd=new Sq
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1