Ejemplo n.º 1
0
 private void xoa_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow r in dsdkhp.Rows)
     {
         if ((bool)r.Cells["chon"].Value == true)
         {
             dal_dkhp.deleteDKHP_sv(r.Cells["masv"].Value.ToString(), r.Cells["mamh"].Value.ToString());
         }
     }
     dt = dal_dkhp.loadDSDKHP(dssv.SelectedValue.ToString());
     initGrid(dssv.SelectedValue.ToString());
 }
Ejemplo n.º 2
0
 private void xoa_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow r in listDKHP.Rows)
     {
         if ((bool)r.Cells["chon"].Value == true)
         {
             dal_dkhp.deleteDKHP_sv(r.Cells["masv"].Value.ToString(), r.Cells["mamh"].Value.ToString());
         }
     }
     //string masv = listSV.Rows[listSV.CurrentCell.RowIndex].Cells["masv"].Value.ToString();
     initGriddkhp(masv);
 }