示例#1
0
文件: Product.cs 项目: QuyenHCM/QLBH2
        private void Product_Del_Button_Click(object sender, EventArgs e)
        {
            int item = Product_DataGridView.CurrentCell.RowIndex;

            data.Xoa("SANPHAM", "MaSP", Product_DataGridView.Rows[item].Cells[0].Value.ToString());
        }
示例#2
0
        private void Staff_Del_Button_Click(object sender, EventArgs e) // xóa
        {
            int check = Staff_DataGridView.CurrentCell.RowIndex;

            data.Xoa("NHANVIEN", "MaNV", Staff_DataGridView.Rows[check].Cells[0].Value.ToString());
        }
示例#3
0
文件: Bill.cs 项目: QuyenHCM/QLBH2
        private void Bill_Del_Button_Click(object sender, EventArgs e)
        {
            int item = Bill_DataGridView.CurrentCell.RowIndex;

            data.Xoa("HOADON", "MaHD", Bill_DataGridView.Rows[item].Cells[0].Value.ToString());
        }
示例#4
0
        private void Customer_Del_Button_Click(object sender, EventArgs e)
        {
            int check = Customer_DataGridView.CurrentCell.RowIndex;

            data.Xoa("[KHACHHANG]", "MaKH", Customer_DataGridView.Rows[check].Cells[0].Value.ToString());
        }