示例#1
0
文件: Form1.cs 项目: naricci/SE255
        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();
        }