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

正文內(nèi)容

企業(yè)庫存管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)論文(編輯修改稿)

2024-07-20 17:28 本頁面
 

【文章內(nèi)容簡介】 EventArgs e) { if (!IsPostBack) { WebConfigSelect()。//此方法對(duì)變量進(jìn)行了初始化或者改變! } } 本系統(tǒng)的母版頁提供統(tǒng)一的登錄安全驗(yàn)證。代碼如下:public partial class System_MasterPage : { protected void Page_Load(object sender, EventArgs e) { if ([xzfkucun] == null) { ()。 } }} 各個(gè)模塊的實(shí)現(xiàn) 管理員注冊與登錄模塊進(jìn)入系統(tǒng)前首先進(jìn)入登錄這個(gè)界面,當(dāng)用戶登錄成功后,方可以進(jìn)行相應(yīng)操作,流程18 / 38圖51,截圖52所示。登錄的主要代碼: protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { string user = (())。 string pwd = (, SHA1)。 string sql = select * from X_Manager where X_Manager_User=39。 + user + 39。 and X_Manager_Pwd=39。 + pwd + 39。 SqlDataReader dr = (sql)。 if () { if (()) { if (dr[X_Manager_State].ToString() == 正常) { HttpCookie cookies。 cookies = new HttpCookie(xzfkucun)。 (Manager, (()))。 (X_Power, (dr[X_Manager_Power].ToString()))。 = (24)。//1天有效24小時(shí) (cookies)。//存儲(chǔ)!~ ()。 ()。 ()。 } else { ()。 ()。 (Page, 您的帳號(hào)還未開通,或已禁用!, )。 } } else { ()。 ()。 (Page, 登陸失敗,請檢查用戶名及密碼是否正確!, )。 } } else {19 / 38 ()。 ()。 (Page, 驗(yàn)證碼錯(cuò)誤, )。 } }登錄流程圖51圖52 登錄() 權(quán)限模塊主界面可以依據(jù)不同的權(quán)限進(jìn)入相應(yīng)的界面進(jìn)行相關(guān)操作,主界面圖 53 所示。主界面涉及權(quán)限的部分代碼: region 初始化頁面 public string py = 。 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack)20 / 38 { if ([xzfkucun] != null) { if ([xzfkucun][Manager] != null) { = ([xzfkucun][Manager].ToString())。 if ([xzfkucun][X_Power].ToString() == Administrator) { py = 。 } else { py = none。 } } else { ()。 } } else { ()。 } } }endregion21 / 38超級(jí)管理員登錄后進(jìn)入 圖53普通管理員登錄后進(jìn)入 圖5422 / 38 基本信息管理模塊進(jìn)入這個(gè)界面后,可以在左側(cè)的導(dǎo)航欄點(diǎn)擊相應(yīng)欄目進(jìn)行相關(guān)操作;部分代碼與截圖: public static string sqltxt = select * from [X_Goods_Sort] order by X_Goods_Sort_ID desc。 public static string cmdtxt2 = select count(*) from [X_Goods_Sort]。 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Get_Pager_Data()。//綁定列表數(shù)據(jù) } } void Get_Pager_Data() { SqlConnection = ()。 SqlCommand cmd0 = new SqlCommand(cmdtxt2, )。 = true。 = 14。 = (int)()。 ()。 Get_Data()。 } protected void AspNetPager1_PageChanging(object src, e) { = 。23 / 38 Get_Data()。 } void Get_Data()//綁定數(shù)據(jù) { SqlConnection =()。 SqlCommand cmd=new SqlCommand (sqltxt,)。 SqlDataAdapter da = new SqlDataAdapter(cmd)。 DataSet ds = new DataSet()。 (ds, * ( 1), , X_Goods_Sort)。 DataView dv = [X_Goods_Sort].DefaultView。 = dv。 ()。 } protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e) { if ( == del) { if ((delete from [X_Goods] where X_Goods_Sort_ID= + ()) = 0 amp。amp。 (delete from [X_Goods_Sort] where X_Goods_Sort_ID= + ()) = 0) { Get_Pager_Data()。 (Page, 刪除成功!, )。 } else { (Page, 刪除失??!, )。 } } } protected void CheckBox1_CheckedChanged(object sender, EventArgs e)//全選操作 { if () { for (int i = 0。 i 。 i++) { CheckBox chk = (CheckBox)[i].FindControl(CheckBox2)。 if (chk != null) { = true。 } }24 / 38 } else { for (int i = 0。 i 。 i++) { CheckBox chk = (CheckBox)[i].FindControl(CheckBox2)。 if (chk != null) { = false。 } } } } protected void LinkButton2_Click(object sender, EventArgs e) { for (int i = 0。 i 。 i++) { CheckBox chk = (CheckBox)[i].FindControl(CheckBox2)。 Label lb5 = (Label)[i].FindControl(Label5)。 if (chk != null) { if () { (delete from [X_Goods] where X_Goods_Sort_ID= + ())。 (delete from [X_Goods_Sort] where X_Goods_Sort_ID= + ())。 } } } Get_Pager_Data()。 } protected void Button1_Click(object sender, EventArgs
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1