protected void btnReview_Click(object sender, EventArgs e) { try { string productid = Request.QueryString["product"]; string name = txtName.Text; string email = txtEmail.Text; string review = txtMessage.Text; int rating = 3; bool active = false; int result = 0; result = local_product.AddProductReview(productid, rating, name, email, review, active); if (result != 0) { mpe.Show(); lblpopup.Text = "Product Review submited,<br/> after admin examine it will be show."; txtName.Text = ""; txtEmail.Text = ""; txtMessage.Text = ""; } } catch { } }