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

正文內(nèi)容

超市進(jìn)銷(xiāo)存管理系統(tǒng)方案(編輯修改稿)

2025-05-27 02:57 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 = [0].DefaultView。 } 功能實(shí)現(xiàn)添加關(guān)鍵代碼如下: private void 添加ToolStripMenuItem_Click(object sender, EventArgs e) { string aa = @Data Source=。Initial Catalog=supermarket。Integrated Security=True。 SqlConnection con = new SqlConnection()。 = aa。 string cmdText = @insert into yuangong(員工號(hào),員工姓名,性別,職位) values(39。+textBox4 .Text+ 39。,39。+textBox1 .Text +39。,39。++ 39。,39。+textBox3 .Text+ 39。)。 SqlCommand cmd = new SqlCommand(cmdText, con)。 try { ()。 ()。 qingkong()。 } catch (Exception) { (對(duì)不起!添加數(shù)據(jù)失敗)。 } finally { ()。 } shuaxin()。 }功能實(shí)現(xiàn)刪除關(guān)鍵代碼如下: private void 刪除ToolStripMenuItem_Click(object sender, EventArgs e) { string aa = @Data Source=。Initial Catalog=supermarket。Integrated Security=True。 SqlConnection con = new SqlConnection()。 = aa。 (刪除前請(qǐng)查詢)。 string cmdText = delete from yuangong where 員工號(hào)=39。 + + 39。 SqlCommand cmd = new SqlCommand(cmdText, con)。 try { ()。 ()。 qingkong()。 } catch (Exception) { (對(duì)不起!刪除失??!)。 } finally { ()。 } shuaxin () 。 } 供應(yīng)商信息管理模塊實(shí)現(xiàn)實(shí)現(xiàn)對(duì)供應(yīng)商的查詢、添加和刪除等操作。界面如圖34所示。圖34 供應(yīng)商信息管理窗體 該模塊界面實(shí)現(xiàn)只需要在開(kāi)發(fā)工具左側(cè)工具箱中選擇相應(yīng)的控件添加到Form中即可,而后再對(duì)相應(yīng)的查詢,添加,刪除,退出控件進(jìn)行雙擊,添加事件響應(yīng)。其查詢,添加,刪除代碼跟員工信息模塊相似,只需把表明改成gongyishang即可。商品查詢模塊實(shí)現(xiàn)對(duì)商品的查詢操作。界面如圖35所示。圖35 商品查詢窗體功能實(shí)現(xiàn)關(guān)鍵代碼如下: private void 查詢ToolStripMenuItem_Click(object sender, EventArgs e) { string aa = @Data Source=。Initial Catalog=supermarket。Integrated Security=True。 SqlConnection SqlConnection1 = new SqlConnection()。 = aa。 string sql = select *from jinhuo where 商品名=39。 + + 39。 SqlCommand SqlCommand1 = new SqlCommand()。 = sql。 = SqlConnection1。 SqlDataAdapter da = new SqlDataAdapter(sql, SqlConnection1)。 DataSet ds = new DataSet()。 try { ()。 (ds)。 } catch (Exception) { (查詢失敗)。 } finally { ()。 } dataGridView1 .DataSource = [0].DefaultView 。 }商品退貨實(shí)現(xiàn)對(duì)商品的退貨功能,如圖36所示。圖 36 商品退貨窗口體其退貨功能實(shí)現(xiàn)關(guān)鍵代碼如下: void shuaxin() { string aa = @Data Source=。Initial Catalog=supermarket。Integrated Security=True。 SqlConnection con = new SqlConnection()。 = aa。 string cmdText = SELECT *FROM tuihuo。 SqlDataAdapter da = new SqlDataAdapter(cmdText, con)。 DataSet ds = new DataSet()。 try { ()。 (ds)。 } catch (Exception)
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1