private void add_Row() { if (validateGrid(gridView1.FocusedRowHandle)) { NhaCungCap_View lk = gridThaoTac.addRow(count_row) as NhaCungCap_View; gridThaoTac.refreshData(); count_row++; } }
private void add_Row() { if (validateGrid(gridView1.FocusedRowHandle)) { LinhKien_View lk = gridThaoTac.addRow(count_row) as LinhKien_View; lk.MaDonViTinh = "DVT001"; gridThaoTac.refreshData(); count_row++; } }
private void btnThem_Click(object sender, EventArgs e) { gridThaoTac.addRow(count_row); count_row += 1; }