예제 #1
0
        protected void btnDelete_OnClick(object sender, EventArgs e)
        {
            Button button       = (sender as Button);
            int    animalTypeID = Convert.ToInt32(button.Attributes["AnimalTypeID"]);

            AnimalType.DeleteAnimalType(animalTypeID);
            LoadTypes();
        }