摘要: 窗口初始化 点击查看代码 //编辑员工实例 private Employee employee = null; public FrmEidt(Employee emp =null) { InitializeComponent(); this.Text = "修改窗口"; this.btnSave.C 阅读全文
posted @ 2024-01-26 11:53 gagao 阅读(44) 评论(0) 推荐(0)
摘要: 窗口初始化 点击查看代码 public FrmEidt() { InitializeComponent(); this.Text = "添加窗口"; this.txtCode.Focus(); this.btnSave.Click -= btnEditEmployee_Click; this.btn 阅读全文
posted @ 2024-01-26 11:43 gagao 阅读(37) 评论(0) 推荐(0)
摘要: 点击查看代码 /// <summary> /// 单一结果查询 /// </summary> /// <param name="sql"></param> /// <returns></returns> public static int ExecuteNonQuery(string sql) { 阅读全文
posted @ 2024-01-26 10:49 gagao 阅读(63) 评论(0) 推荐(0)
摘要: ![](https://img2024.cnblogs.com/blog/3381575/202401/3381575-20240126102342467-1851121060.png) ![](https://img2024.cnblogs.com/blog/3381575/202401/3381575-20240126102359359-2056120920.png) 阅读全文
posted @ 2024-01-26 10:24 gagao 阅读(7) 评论(0) 推荐(0)