Example #1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            Person temp = new Person();

            Int32 intPerson_ID = Convert.ToInt32(lblPerson_ID.Text);
            Int32 intRecords   = temp.DeleteOnePerson(intPerson_ID);

            lblFeedback.Text = intRecords.ToString() + " Records Deleted.";
            this.Close();
        }