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

正文內(nèi)容

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

2025-07-20 17:28 本頁面
 

【文章內(nèi)容簡介】 EventArgs e) { if (!IsPostBack) { WebConfigSelect()。//此方法對變量進行了初始化或者改變! } } 本系統(tǒng)的母版頁提供統(tǒng)一的登錄安全驗證。代碼如下:public partial class System_MasterPage : { protected void Page_Load(object sender, EventArgs e) { if ([xzfkucun] == null) { ()。 } }} 各個模塊的實現(xiàn) 管理員注冊與登錄模塊進入系統(tǒ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小時 (cookies)。//存儲!~ ()。 ()。 ()。 } else { ()。 ()。 (Page, 您的帳號還未開通,或已禁用!, )。 } } else { ()。 ()。 (Page, 登陸失敗,請檢查用戶名及密碼是否正確!, )。 } } else {19 / 38 ()。 ()。 (Page, 驗證碼錯誤, )。 } }登錄流程圖51圖52 登錄() 權(quán)限模塊主界面可以依據(jù)不同的權(quá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超級管理員登錄后進入 圖53普通管理員登錄后進入 圖5422 / 38 基本信息管理模塊進入這個界面后,可以在左側(cè)的導航欄點擊相應欄目進行相關(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
點擊復制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1