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

正文內(nèi)容

20xx年最新計算機---企業(yè)辦公自動化系統(tǒng)-資料下載頁

2024-12-07 10:24本頁面

【導(dǎo)讀】專業(yè)年級:計算機科學(xué)與技術(shù)2021級。指導(dǎo)教師、職稱:

  

【正文】 wd=39。 + + 39。and system=0, con)。 ()。 int i = (int)()。 ()。 if (i 0) { //登陸成功后,設(shè)置登陸時間和標(biāo)識 (update sysUser set logintime=39。 + + 39。,sign=1 where userName=39。 + + 39。)。 ()。 Session[loginName] = 。 = false。 } else { ((用戶名或密碼錯誤 !))。 } ()。 } } } 新建部門的程序代碼如下 public partial class BaseInfo_adddept : { protected void Page_Load(object sender, EventArgs e) { } protected void btnAdd_Click(object sender, EventArgs e) { //SqlConnection con = new SqlConnection([conStr])。 //()。 //SqlCommand dbCommand = new SqlCommand(insert into dept values(39。 + + 39。,39。 + + 39。), con)。 //()。 BaseClass bc = new BaseClass()。 Boolean bl。 bl = (insert into dept values(39。 + + 39。,39。 + + 39。))。 if (bl) { ((新建部門成功 !))。 福建農(nóng)林大學(xué)本科畢業(yè)論文 56 } else { ((新建部門失敗 !))。 } } protected void btnCancel_Click(object sender, EventArgs e) { = 。 = 。 } } 編輯部門的程序代碼如下: public partial class BaseInfo_updateDept : { BaseClass bc = new BaseClass()。 protected void Page_Load(object sender, EventArgs e) { = (select * from dept, dept)。 = new String[] { deptID }。 ()。 } protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { = 。 ()。 } protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { try { (delete from dept where deptID=39。 + [].() + 39。)。 = (select * from dept, dept)。 ()。 } catch(Exception ex) { (())。 } } 添加員工的程序代碼如下: public partial class BaseInfo_addEmployee : { BaseClass bc = new BaseClass()。 static string path。 //必須設(shè)置靜態(tài)變量 才可以保存存儲 上傳 文件路徑 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { = (select * from dept, dept)。 ()。 } 福建農(nóng)林大學(xué)本科畢業(yè)論文 56 } protected void btnSave_Click(object sender, EventArgs e) { string str。 str = insert into employee values(39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + path + 39。)。 Boolean bl。 bl = (str)。 if (bl) { ((員工基礎(chǔ)信息添加成功 ))。 } else { ((員工基礎(chǔ)信息添加失敗 ))。 } } protected void btnCancel_Click(object sender, EventArgs e) { = 。 = 。 = 。 = 。 = 。 = 。 = 。 } protected void btnGoUp_Click(object sender, EventArgs e) { string str = 。 if (str == ) { ((請選擇上傳圖片! ))。 return。 } string ss = ((\\) + 1)。 string s = (..\\photo\\ + ss)。 path = ..\\photo\\ + ss。 if ((s)) { ((該文件已經(jīng)存在,請重新命名?。?! ))。 return。 } (s)。 = path。 } protected void txtEBrith_TextChanged(object sender, EventArgs e) { } } 刪除員工程序代碼如下: 福建農(nóng)林大學(xué)本科畢業(yè)論文 56 public partial class BaseInfo_editEmployee : { BaseClass bc = new BaseClass()。 protected void Page_Load(object sender, EventArgs e) { = (select * from employee, employee)。 = new String[] { id }。 ()。 } protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { //獲取要清除相片文件的名稱(服務(wù)器) DataSet ds = (select * from employee where id= + [].() + , employee)。 DataRow[] row = [0].Select()。 //清除數(shù)據(jù) if ((delete from employee where id= + [].() + )) { = (select * from employee, employee)。 = new String[] { id }。 ()。 //開始刪除文件 foreach (DataRow rs in row) //將檢索到的數(shù)據(jù)逐一 ,循環(huán)添加到 Listbox1中 { FileInfo file = new FileInfo((rs[photoPath].ToString()))。 ()。 } } else { ((本數(shù)據(jù)與其他數(shù)據(jù)表存在關(guān)系暫時不能清除 !))。 } } protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { = 。 = new String[] { id }。 ()。 } } 查看公告程序代碼如下 : public partial class BaseInfo_noticeList : { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BaseClass bc = new BaseClass()。 = (select * from notice,notice)。 = noticeID。 福建農(nóng)林大學(xué)本科畢業(yè)論文 56 ()。 } } protected void DataList1_DeleteCommand(object source, DataListCommandEventArgs e) { int str = (int)[]。 BaseClass bc = new BaseClass()。 bool bl。 bl=(delete from notice where noticeID=39。 + str + 39。)。 = (select * from notice, notice)。 = noticeID。 ()。 } } 發(fā)布公告程序代碼如下: public partial class BaseInfo_notice : { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { BaseClass bc = new BaseClass()。 if ( == amp。amp。 == ) { ((標(biāo)題和內(nèi)容不能為空
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1