protected void Button_Question_Click(object sender, EventArgs e)
        {
            //验证用户,如果未登录则提示登录
            if (String.IsNullOrEmpty(TextBox_QuestionContent.Text.Trim()))
            {
                MessageBox.Show(this, "输入问题内容");
                return;
            }

            QuestionModel model = new QuestionModel();

            model.QuestionId = CommDataHelper.GetNewSerialNum(AppType.Other);
            model.Content = TextBox_QuestionContent.Text.Trim();
            model.ContentId = ProductID;
            model.ContentType = NoName.NetShop.Common.ContentType.Product;
            model.InsertTime = DateTime.Now;
            //model.LastAnswerId = "";
            //model.LastAnswerTime = "";
            model.Title = "";
            model.UserId = GetUserID();

            questionBll.Add(model);

            BindQuestionData(AspNetPager.CurrentPageIndex);

            Response.Redirect(Request.RawUrl);
        }
 protected void lbtnDoQuestion_Click(object sender, EventArgs e)
 {
     QuestionBll qbll = new QuestionBll();
     QuestionModel qmodel = new QuestionModel();
     qmodel.UserId = Context.User.Identity.Name;
     string content = txtContent.Text.Trim();
     qmodel.Title = content.Substring(0, content.Length > 50 ? 50 : content.Length);
     qmodel.Content = content;
     qmodel.ContentType = NetShop.Common.ContentType.Product;
     qmodel.ContentId = 0;
     qbll.Add(qmodel);
     ShowQuestionInfo();
 }