protected void lnkDelete_Click(object sender, EventArgs e) { AdministrationDAC dac = new AdministrationDAC(); AdministrationEDSC.KeyCollectionDTDataTable dt = GetSelected(); foreach (AdministrationEDSC.KeyCollectionDTRow dr in dt) { dac.DeleteKeyCollection(dr.ID); } Refresh(); }