コード例 #1
0
        protected void lnkDelete_Click(object sender, EventArgs e)
        {
            AdministrationDAC dac = new AdministrationDAC();

            AdministrationEDSC.SuburbDTDataTable dt = GetSelected();
            foreach (AdministrationEDSC.SuburbDTRow dr in dt)
            {
                dac.DeleteSuburb(dr.ID);
            }
            Refresh();
        }