protected void btnAdd_Click(object sender, EventArgs e) { bool done = BooksDAL.AddReview( Int32.Parse(Request.QueryString["bookid"]), Int32.Parse(Session["userid"].ToString()), Int32.Parse(ddlRating.SelectedItem.Value), txtReview.Text); if (done) { lblMsg.Text = "Your review has been added sucessfully!"; } else { lblMsg.Text = "Sorry! Could not add your review. Please try again!"; } }