private void xlSua() { editNCC.MaNCC = txtMa.Text; editNCC.TenNCC = txtTen.Text; editNCC.DiaChi = txtDiaChi.Text; editNCC.KhuVuc = leKhuVuc.EditValue.ToString(); editNCC.MaSoThue = txtMaSoThue.Text; editNCC.DienThoai = txtDienThoai.Text; editNCC.Email = txtEmail.Text; editNCC.TaiKhoan = txtTaiKhoan.Text; editNCC.GioiHanNo = (calcGioiHanNo.Text == "" ? 0 : float.Parse(calcGioiHanNo.Text)); editNCC.ChietKhau = (calcChietKhau.Text == "" ? 0 : float.Parse(calcChietKhau.Text)); editNCC.LienHe = txtNguoiLienHe.Text; editNCC.Fax = txtFax.Text; editNCC.DiDong = txtMobile.Text; editNCC.Website = txtWebsite.Text; editNCC.NganHang = txtNganHang.Text; editNCC.ChucVu = txtNickSkype.Text; editNCC.ConQL = checkConQL.Checked; BUS_NhaCungCap.SuaNCC(editNCC); sendNCC(); Action.Module = "Nhà Cung Cấp"; Action.ActionName = "Sửa"; Action.Reference = txtMa.Text; Action.LuuThongTin(); this.Close(); }