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

正文內(nèi)容

小型超市收銀系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-資料下載頁(yè)

2025-07-28 20:55本頁(yè)面
  

【正文】 )。 =。 (myAlarm)。 // SqlParameter myRemark=new SqlParameter(@GoodsRemark,100)。 =。 (myRemark)。 //執(zhí)行存儲(chǔ)過(guò)程 try { ()。 ()。 return true。 } catch { return false。 } finally { ()。 } } //刪除商品基本信息 public bool DeleteGoods(string tempGoodsID) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(DeleteGoods, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter myID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myID)。 //執(zhí)行存儲(chǔ)過(guò)程 try { ()。 ()。 return true。 } catch { return false。 } finally { ()。 } } //判斷是否存在商品 public bool HasGoods(string tempGoodsID) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(HasGoods, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter myID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myID)。 // SqlParameter flag = new SqlParameter(@has, )。 = 。 (flag)。 try { ()。 ()。 return (())。 } catch { return false。 } finally { ()。 } } //判斷某供應(yīng)商是否提供某商品 public bool IsSupplyGds(string tempCmp,string tempGoodsID) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(IsSupplyGds, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter myID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myID)。 // SqlParameter myCmp=new SqlParameter(@Company,50)。 =tempCmp。 (myCmp)。 // SqlParameter myflag=new SqlParameter(@Has,)。 = 。 (myflag)。 //執(zhí)行存儲(chǔ)過(guò)程 try { ()。 ()。 return ()。 } catch { return false。 } finally { ()。 } } //增加庫(kù)存 public bool AddStock(string tempStockID,string tempGoodsID,string tempCmp,string tempOperator,float tempPrice,int tempNum,string tempRemark,int tempflag) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(AddStock, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter mySID = new SqlParameter(@StockID, ,20)。 =tempStockID。 (mySID)。 // SqlParameter myGID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myGID)。 // SqlParameter myCmp=new SqlParameter(@CompanyName,50)。 =tempCmp。 (myCmp)。 //操作者 @Operator varchar(10), SqlParameter myOperator = new SqlParameter(@Operator, , 10)。 = tempOperator。 (myOperator)。 //入庫(kù)量 @GoodsNum int, SqlParameter myNum = new SqlParameter(@GoodsNum, )。 = tempNum。 (myNum)。 //進(jìn)價(jià) @GoodsPrice smallmoney, SqlParameter myPrice = new SqlParameter(@GoodsPrice, )。 = tempPrice。 (myPrice)。 // SqlParameter myRemark = new SqlParameter(@Remark, , 100)。 =tempRemark。 (myRemark)。 // SqlParameter myflag=new SqlParameter(@flag,)。 =tempflag。 (myflag)。 //執(zhí)行存儲(chǔ)過(guò)程 try { ()。 ()。 return true。 } catch { return false。 } finally { ()。 } } //根據(jù)商品編號(hào),檢索出商品的基本信息,用于銷售顯示。 GoodsID GoodsName GoodsUnit GoodsSellPrice public DataRow GetGoods(string tempGoodsID) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(GetGoods, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter myID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myID)。 DataSet tempDs = new DataSet()。 //執(zhí)行存儲(chǔ)過(guò)程 = new SqlDataAdapter(myCmd)。 (tempDs)。 return [0].Rows[0]。 } //寫銷售記錄 public bool AddSellItem(string tempSellID,string tempGoodsID,string tempPerson,float tempPrice,int tempNum,string tempRemark) { = new SqlConnection(mstrCon)。 SqlCommand myCmd = new SqlCommand(AddSellItem, msqlCon)。 = 。 //給存儲(chǔ)過(guò)程添加參數(shù) SqlParameter mySID = new SqlParameter(@SellID, , 20)。 = tempSellID。 (mySID)。 // SqlParameter myGID = new SqlParameter(@GoodsID, , 20)。 = tempGoodsID。 (myGID)。 //操作者 @Operator varchar(10), SqlParameter myOperator = new SqlParameter(@OperatorN, , 10)。 = tempPerson。 (myOperator)。 //入庫(kù)量 @GoodsNum int, SqlPar
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1