protected void btnSendrate_Click(object sender, EventArgs e)
        {
            //if (string.IsNullOrEmpty(Utils.CStrDef(Session["User_ID"])))
            //{
            //    string strScript = "<script>";
            //    strScript += "alert(' Bạn cần đăng nhập để nhận xét về sản phẩm!');";
            //    strScript += "</script>";
            //    Page.RegisterClientScriptBlock("strScript", strScript);
            //    return;
            //}
            if (Utils.CStrDef(txtcontent.Value).Length < 50)
            {
                string strScript = "<script>";
                strScript += "alert(' Nội dung phải lớn hơn 50 ký tự!');";
                strScript += "</script>";
                Page.RegisterClientScriptBlock("strScript", strScript);
                return;
            }
            int    _newsID  = Utils.CIntDef(Session["news_id"]);
            string _name    = txtname.Value;
            string _email   = txtemail.Value;
            string _title   = txttitle.Value;
            string _content = txtcontent.Value;
            int    _rating  = getRate();

            //if (this.txtcapcha.Value != this.Session["CaptchaImageText"].ToString())
            //{
            //    lblresult.Text = "Mã bảo vệ không đúng.";
            //    lblresult.Focus();
            //    return;
            //}
            if (cm.AddQuestion(_name, _email, _title, _content, _newsID, _rating))
            {
                //string _mailBody = string.Empty;
                //string _sEmailCC = string.Empty;
                //_mailBody += "<br/><br/><strong>Name</strong>: " + _name;
                //_mailBody += "<br/><br/><strong>Email</strong>: " + _email;
                //_mailBody += "<br/><br/><strong>Title</strong>: " + _title;
                //_mailBody += "<br/><br/><strong>Content</strong>: " + _content + "<br/><br/>";
                //string _sMailBody = string.Empty;
                //_sMailBody += "Cám ơn: " + _name + " bạn đã đánh giá sản phẩm. Đây là email được gửi từ website " + System.Configuration.ConfigurationManager.AppSettings["EmailDisplayName"] + " <br>" + _mailBody;
                //_sEmailCC = cf.Getemail(2).Count > 0 ? cf.Getemail(2)[0].EMAIL_TO : "";
                //sm.SendEmailSMTP("Notice: Gửi đánh giá thành công", _email, _sEmailCC, "", _sMailBody, true, false);
                string strScript = "<script>";
                strScript += "alert('Cám ơn bạn đã đánh giá cho sản phẩm, Nội dung đánh giá sẽ hiển thị sau khi duyệt!');";
                strScript += "</script>";
                Page.RegisterClientScriptBlock("strScript", strScript);
            }
            resetInput();
        }