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

正文內(nèi)容

4s店汽車銷售及服務(wù)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)論文(編輯修改稿)

2025-04-08 14:06 本頁面
 

【文章內(nèi)容簡介】 { DataSet myDS = new DataSet()。 Open()。 SqlDataAdapter myAD1 = new SqlDataAdapter(SQL1, Cn)。 (myDS, Big)。 SqlDataAdapter myAD2 = new SqlDataAdapter(SQL2, Cn)。 15 (myDS, Small)。 Close()。 return myDS。 } endregion region public SqlDataReader GRead(string Sql) { Open()。 SqlCommand my = new SqlCommand(Sql, Cn)。 SqlDataReader Dr = ()。 return Dr。 } endregion region 創(chuàng)建一個(gè) Command 來執(zhí)行存儲(chǔ)過程 private SqlCommand ReturnCM(string RunNM, SqlParameter[] PartNM) { Open()。 SqlCommand ThisCm = new SqlCommand(RunNM, Cn)。 = 。 //傳入?yún)?shù) if (PartNM != null) { foreach (SqlParameter parmt in PartNM) (parmt)。 16 } //加入返回參數(shù) (new SqlParameter(ReturnValue, , 4, , false, 0, 0, , , null))。 return ThisCm。 } endregion region 返回帶參數(shù)的存儲(chǔ)過程 public int RunInsert(string RunName, SqlParameter[] PartName) { SqlCommand MyCM = ReturnCM(RunName, PartName)。 ()。 ()。 return (int)[ReturnValue].Value。 } endregion region //傳入輸入的參數(shù) public SqlParameter IntParam(string ParamName, SqlDbType DbType, int Size, object Value) { Return MakeParam ( ParamName , DbType , Size , ParameterDirection . Input , Value )。 } endregion 17 region //傳入返回值參數(shù) public SqlParameter OutParam ( string ParamName , SqlDbType DbType , int Size) { return MakeParam ( ParamName , DbType , Size , , null)。 } endregion region //生成存儲(chǔ)過程參數(shù) private SqlParameter MakeParam ( string ParamName , SqlDbType DbType , Int32 Size , ParameterDirection Direction, object Value) { SqlParameter param。 if (Size 0) { param = new SqlParameter(ParamName, DbType, Size)。 } else { param = new SqlParameter(ParamName, DbType)。 } = Direction。 if (!(Direction == amp。amp。 Value == null)) = Value。 return param。 18 } endregion } 類,用戶操作行為文件程序如下 : using System。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 /// summary /// UserAction 的摘要說明 /// /summary public class UserAction:SqlDataBase { public UserAction() { // // TODO: 在此處添加構(gòu)造函數(shù)邏輯 // } public bool UserChangePwd( string UserNam , string OldPwd , string NewPwd ) 19 { SqlDataBase MyDB = new SqlDataBase()。//調(diào)用 SqlDataBase類 int CheckNum = ((select count(*) from UserList where UserName = 39。 + UserNam + 39。and PassWord = 39。 + OldPwd + 39。))。 if (CheckNum 0) { (update UserList set PassWord=39。 + NewPwd + 39。 where UserName = 39。 + UserNam + 39。)。 return true。 } else { return false。 } } public bool UserAdd(string UserNam , string Pwd ,string AlignK , string Types) { SqlDataBase MyDB = new SqlDataBase()。 int CheckNum = ((select count(*) from UserList where UserName = 39。 + UserNam + 39。))。 if (CheckNum 0) { return false。 } else { 20 (insert into UserList(UserName , PassWord , Controls , GoodsType) values(39。 + UserNam + 39。,39。 + Pwd + 39。,39。 + AlignK + 39。,39。 + Types + 39。))。 return true。 } } public DataTable GiveSysC()//返回通知列表 { SqlDataBase MyDb = new SqlDataBase()。 return (select * from SystemTest where TestType = 0 order By ID desc)。 } public DataTable GiveSysX(string ID) { SqlDataBase MyDb = new SqlDataBase()。 return (select * from SystemTest where ID = 39。 + ID + 39。)。 } public static DataTable GetBigClass() //返回產(chǎn)品大類 { SqlDataBase MyDb = new SqlDataBase()。 return (select * from BigClass)。 } public static DataTable GetSmaGoods(string ID)//返回大類所屬的產(chǎn)品列表 { SqlDataBase MyDb = new SqlDataBase()。 return (select ID , GoodsNum , GoodsName from AllGood where AlignType = 39。+ID+39。)。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1