示例#1
0
 private void add_Row()
 {
     if (validateGrid(gridView1.FocusedRowHandle))
     {
         NhaCungCap_View lk = gridThaoTac.addRow(count_row) as NhaCungCap_View;
         gridThaoTac.refreshData();
         count_row++;
     }
 }
示例#2
0
 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++;
     }
 }
示例#3
0
 private void btnThem_Click(object sender, EventArgs e)
 {
     gridThaoTac.addRow(count_row);
     count_row += 1;
 }