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

正文內(nèi)容

c餐飲管理系統(tǒng)課程設(shè)計2(編輯修改稿)

2025-05-04 05:24 本頁面
 

【文章內(nèi)容簡介】 ew frmDesk()。 ()。 } private void 職員信息ToolStripMenuItem1_Click(object sender, EventArgs e) { frmUser users = new frmUser()。 ()。 } }}namespace MyCyMS{ public partial class frmUser : Form { public frmUser() { InitializeComponent()。 } private void btQuery_Click(object sender, EventArgs e) { BindData()。 } private void BindData() { SqlConnection conn = ()。 SqlDataAdapter sda = new SqlDataAdapter(select ID,WaiterName 姓名,CardNum 身份證號,WaiterNum 服務(wù)員編號,Sex 性別,Age 年齡,Tell 電話號碼 from tb_Waiter order by ID , conn)。 DataSet ds = new DataSet()。 (ds)。 = [0]。 } //修改按鈕 private void button1_Click(object sender, EventArgs e) { = false。 = true。 = true。 = false。 = true。 = true。 = true。 = true。 = true。 } private void btExit_Click(object sender, EventArgs e) { ()。 } private void btReWrite_Click(object sender, EventArgs e) { = 。 = 。 = 。 = 。 = 。 = true。 = true。 = true。 = true。 = true。 = true。 = false。 = true。 = true。 } private void btDelete_Click(object sender, EventArgs e) { SqlConnection conn = ()。 ()。 SqlCommand cmd = new SqlCommand(delete from tb_Waiter where ID=39。 + [0].() + 39。, conn)。 ()。 ()。 BindData()。 } private void btSave_Click(object sender, EventArgs e) { SqlConnection conn = ()。 ()。 SqlCommand cmd = new SqlCommand(select count(*) from tb_Waiter where WaiterName=39。 + + 39。, conn)。 int i = (())。 if (i 0) { cmd = new SqlCommand(update tb_Waiter set WaiterName=39。 + + 39。,CardNum=39。 + + 39。,WaiterNum=39。 + + 39。,Sex=39。 + () + 39。,Age=39。 + + 39。,Tell=39。 + + 39。 where ID=39。 + [0].() + 39。, conn)。 ()。 ()。 BindData()。 = true。 = false。 = false。 = true。 = false。 = false。 = true。 = false。 } else { cmd = new SqlCommand(insert into tb_Waiter(WaiterName,CardNum,WaiterNum,Sex,Age,Tell) values(39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + () + 39。,39。 + + 39。,39。 + + 39。), conn)。 ()。 ()。 BindData()。 = true。 = true。 = false。 = true。 = false。 = true。 = true。 = false。 = false。 } } private void frmUser_Load(object sender, EventArgs e) { = 0。 } private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { try { = [1].()。 = [2].()。 = [3].()。 = [4].().Trim()。 = [5].()。 = [6].()。 = true。 = true。 } catch (Exception err) { (不能單擊單元格 + (), 錯誤!)。 } } }}與職工信息查詢相似調(diào)用系統(tǒng)的日歷,計算器、記事本功能、添加用戶、注冊用戶功能代碼這三部分共用一個界面,用代碼控制不同部分的顯示namespace MyCyMS{ public partial class frmChangePwd : Form { string connectionstring = server=201102262024。uid=sa。pwd=123。database=db_MrCy。connect timeout=30。 public SqlCommand cmd = new SqlCommand()。 public string dataTableName = tb_User。 public frmChangePwd() { InitializeComponent()。 } public string names。 public int i。 private void btSave_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connectionstring)。 = 。 = conn。 string sql = update tb_User set UserPwd=39。 + ()。 sql = sql + 39。 where username=39。 + () + 39。 = sql。 if ( == ) { try { ()。 if ((確實要修改該記錄嗎?, 提示, , ) == ) { int n = ()。 (修改用戶密碼成功!)。 } } catch (Exception err) { (修改用戶密碼失??! + ())。 } } else { (確認密碼錯誤!請重新輸入)。 = 。 ()。 } } private void btConcle_Click(object sender, EventArgs e) { ()。 } private void buttonAdd_Click(object sender, EventArgs e) { = 。 = 。 = 。 = 2。 ()。 = false。 = true。 } private void buttonSave_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connectionstring)。 = 。 = conn。
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1