protected void btnSubmit_Click(object sender, EventArgs e) { if (Page.IsValid) { BugClass bc = new BugClass(); bc.status = ddlReview.SelectedValue; bc.bugID = Int32.Parse(id); if (bc.reviewFix() == 0) { Label3.Text = "Bug Report Updated."; } else { Label3.Text = "Error in updating bug report."; } displayBugs(); } }