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

正文內(nèi)容

倉庫管理系統(tǒng)課程設(shè)計論文-資料下載頁

2025-06-28 09:08本頁面
  

【正文】 ception ex) { (, 操作數(shù)據(jù)庫出錯, , )。 return false。 } finally { ()。 } } public bool SelectUser(string usersname, string password, string user) { string sql = (select Username from Users where Username=39。{0}39。and UserPassword=39。{1}39。and Usercon =39。{2}39。, usersname, password)。 try { ()。 SqlCommand mand = new SqlCommand(sql, connection)。 SqlDataReader reader = ()。 while(( )) { user=(0)。 }33 / 36 return true。 } catch (Exception ex) { (, 操作數(shù)據(jù)庫出錯, , )。 return false。 } finally { ()。 } } public bool AddUser(string usno, string usersname, string password, string IS) { string sql = (INSERT INTO Users(Userno,Username,UserPassword,Usercon) + VALUES(39。{0}39。,39。{1}39。,39。{2}39。,39。{3}39。), usno, usersname, password, IS)。 try { ()。 SqlCommand mand = new SqlCommand(sql, connection)。 int num = (int)()。 if (num 0) { (添加用戶成功, 添加成功, , )。 return true。 } else { (添加用戶失敗, 添加失敗, , )。 return false。 } } catch (Exception ex) { (, 操作數(shù)據(jù)庫出錯, , )。 return false。34 / 36 } finally { ()。 } } public bool DeleteUser(string usno) { String sql = (Delete From users Where Userno=39。{0}39。, usno)。 try { ()。 SqlCommand mand = new SqlCommand(sql, connection)。 int num = (int)()。 if (num 0) { (刪除用戶成功, 刪除成功, , )。 return true。 } else { (刪除用戶失敗, 刪除失敗, , )。 return false。 } } catch (Exception ex) { (, 操作數(shù)據(jù)庫出錯, , )。 return false。 } finally { ()。 } } public bool ChangePWD(String Usno, string Usname, string Uspassword, string newpassword)35 / 36 { string sql = (UPDATE users set UserPassword=39。{0}39。where Userno=39。{1}39。, newpassword, Usno)。 string sqla = (select count(*) from Users where Userno=39。{0}39。and Username=39。{1}39。and UserPassword=39。{2}39。, Usno, Usname, Uspassword)。 try { ()。 SqlCommand mand = new SqlCommand(sqla, connection)。 int num = (int)()。 if (num 0) { SqlCommand mands = new SqlCommand(sql, connection)。 try { (修改密碼成功, 修改密碼成功, , )。 return true。 } catch { (修改密碼失敗, 修改密碼失敗, , )。 return false。 } } else { (密碼驗證失敗, 請確認密碼用戶名編號是否正確, , )。 return false。 } } catch (Exception ex) { (, 操作數(shù)據(jù)庫出錯, , )。 return false。 }36 / 36 finally { ()。 } }
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1