protected void Save_Click(object sender, EventArgs e) { ERS.BAL.Reviews rev = new ERS.BAL.Reviews(); int LMIDWhoisOn = Int32.Parse(Request.QueryString["LMID"]); int EmpID = Int32.Parse(LineManagees.SelectedValue); int DirectorID = Int32.Parse(Session["UserId"].ToString()); // Creating Review For CrossLevel ( THere must be a seperat fun calling addReview in BAL ) int ReviewID = rev.AddReview(EmpID, LMIDWhoisOn , DirectorID , "Directors Feedback" , "Crosslevel"); int lCategoryID = rev.GetCategoryID("Director"); Double lRating = Double.Parse(RatingsTxt.Text); String lComments = CommentsTxt.Text; // THe statement Below should be done by rev.AddReviewInfo rev.InsertReviewInfo( lCategoryID, lComments, (decimal)lRating, ReviewID ); AllReviews.DataSource = rev.GetAllReviewsOf_Peer_GivenCategory(Int32.Parse(LineManagees.SelectedValue), Int32.Parse(ViewState["SelCatID"].ToString())); ; AllReviews.DataBind(); }