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

正文內(nèi)容

設(shè)備管理系統(tǒng)源代碼及運行界面-資料下載頁

2025-08-11 09:19本頁面
  

【正文】 ) { DataTable dt = null。 string s = select * from TransInfo where TransID= + id。 dt = (s)。 return dt。 } public int Update( mod) { int n = 0,m=0。 string s = update TransInfo set DepartID=++,UsePeople=39。++39。,BeginTransDate=39。++39。,UseOfMonth=++,Remark=39。++39。 where TransID=+。 n = (s)。 if ( == 未歸還) s = Update Device set DeviceState=39。忙碌39。 where DeviceID= + 。 else s = Update Device set DeviceState=39??臻e39。 where DeviceID= + 。 m = (s)。 if (m == 1 amp。amp。 n == 1) n = 1。 else n = 0。 return n。 } public int Delete(int id) { int n = 0。 string s = delete from TransInfo where TransID= + id。 n = (s)。 return n。 } endregion 成員方法 }}g. using System。using 。using 。using 。using 。namespace DAL{ public class UserLevel { sqlhelp sql = new sqlhelp()。 public UserLevel() { } region 成員方法 /// summary /// 得到用戶權(quán)限列表 /// /summary /// returns/returns public DataTable getUsersLevelList() { string sqlstr = select * from UserLevel。 DataTable dt = (sqlstr)。 return dt。 } endregion 成員方法 }}h. using System。using 。using 。using 。using 。namespace DAL{ public class Users { sqlhelp sql = new sqlhelp()。 public Users() { } region 成員方法 /// summary /// 得到用戶列表 /// /summary /// returns/returns public DataTable getUsersList() { string sqlstr = select * from Users。 DataTable dt = (sqlstr)。 return dt。 } /// summary /// 或得一條用戶記錄 /// /summary /// param name=id/param /// returns/returns public getUsersModel(string id) { model = new ()。 string sqlstr = select * from Users where UserID=39。 + id+39。 DataTable dt = (sqlstr)。 if ( 0) { = [0][UserID].ToString()。 = [0][UserPwd].ToString()。 = [0][LevelID].ToString()。 return model。 } else { return null。 } } /// summary /// 獲得下一個用戶編號 /// /summary /// returns/returns public string getNextUsersId() { string idstr = 。 string sqlstr = select max(UserID) from Users。 DataTable dt = (sqlstr)。 int id1 = ([0][0])+1。 idstr = id1+。 return idstr。 } /// summary /// 插入一條用戶記錄 /// /summary /// param name=model/param /// returns/returns public int addUser( model) { int n = 0。 string sqlstr = insert into Users values(39。 + + 39。,39。 + + 39。,39。 + + 39。)。 n = (sqlstr)。 return n。 } /// summary /// 修改一個用戶 /// /summary /// param name=model/param /// returns/returns public int updateUser( model) { int n = 0。 string sqlstr = update Users set UserPwd=39。++39。,LevelID=39。++39。 where UserID=39。++39。 n=(sqlstr)。 return n。 } /// summary /// 刪除一個用戶 /// /summary /// param name=id/param /// returns/returns public int deleteUser(string id) { int n = 0。 string sqlstr = delete from Users where UserID=39。 + id + 39。 n = (sqlstr)。 return n。 } /// summary /// 條件查詢 /// /summary /// param name=strUserID/param /// param name=strLevelID/param /// returns/returns public DataTable findUsersList(string strUserID,String strLevelID) { if (().Length ==0) { strUserID = %。 } if (().Length == 0) { strLevelID = %。 } string sqlstr = select * from Users where UserID like 39。% + () + %39。 and LevelID like 39。% + () + %39。 DataTable dt = (sqlstr)。 return dt。 } public DataTable UserLogin(string uname, string upwd, string level) { string s = select * from Users where UserID=39。 + uname + 39。 and UserPwd=39。 + upwd + 39。 and LevelID=39。+level+39。 。 DataTable dt = null。 dt = (s)。 return dt。 } endregion 成員方法 }}i. using System。using 。using 。using 。using 。using 。using 。namespace DAL{ public class sqlhelp { public SqlConnection con = new SqlConnection()。 string conn = [ApplicationServices].ConnectionString。 public sqlhelp() { = conn。 } public int Execsql(string sql) { int n = 0。 try { SqlCommand cmd = new SqlCommand(sql, con)。 ()。 n = ()。 ()。 } catch { if ( == ) { ()。 } } return n。 } public DataTable Execusql(string selectsql) {
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1