protected void btnDelete_Click(object sender, EventArgs e) { oDB = new DB.Data(); oDB.DeletePet(txtFirstname.Text, oUser.ID); Response.Redirect("pet.aspx"); }