void BindPtConsultationReply()
        {
            ProductConsultationAndReplyQuery query = new ProductConsultationAndReplyQuery();

            query.PageIndex = this.pagerConsultationReply.PageIndex;
            query.UserId    = HiContext.Current.User.UserId;
            query.Type      = ConsultationReplyType.NoReply;
            int     total = 0;
            DataSet productConsultationsAndReplys = CommentsHelper.GetProductConsultationsAndReplys(query, out total);

            this.dlstPtConsultationReply.DataSource = productConsultationsAndReplys.Tables[0].DefaultView;
            this.dlstPtConsultationReply.DataBind();
            this.pagerConsultationReply.TotalRecords = total;
        }
        private void BindPtConsultationReplyed()
        {
            ProductConsultationAndReplyQuery productConsultationAndReplyQuery = new ProductConsultationAndReplyQuery();

            productConsultationAndReplyQuery.PageIndex = this.pagerConsultationReplyed.PageIndex;
            productConsultationAndReplyQuery.UserId    = HiContext.Current.User.UserId;
            productConsultationAndReplyQuery.Type      = ConsultationReplyType.Replyed;
            int     totalRecords = 0;
            DataSet productConsultationsAndReplys = CommentsHelper.GetProductConsultationsAndReplys(productConsultationAndReplyQuery, out totalRecords);

            this.dlstPtConsultationReplyed.DataSource = productConsultationsAndReplys.Tables[0].DefaultView;
            this.dlstPtConsultationReplyed.DataBind();
            this.pagerConsultationReplyed.TotalRecords = totalRecords;
        }