public void MyBind()
 {
     comMod           = comBll.SelReturnModel(Mid);
     CommentID.Text   = comMod.CommentID.ToString();
     Title_T.Text     = comMod.Title;
     Contents.Text    = comMod.Contents;
     CommentTime.Text = comMod.CommentTime.ToString();
     commScore.Text   = comMod.Score.ToString();
     commStatus.Text  = comMod.Audited ? "已审核" : "未审核";
 }
示例#2
0
        void MyBind()
        {
            M_Comment model = commentBll.SelReturnModel(MainID);

            ID_L.Text = model.CommentID.ToString();
            M_CommonData coninfo = contentBll.GetCommonData(DataConverter.CLng(model.GeneralID));

            Title_L.Text      = coninfo.Title;
            CUser_LB.Text     = userbll.SeachByID(model.UserID).UserName;
            CID_L.Text        = model.GeneralID.ToString();
            MsgContent_T.Text = model.Contents;
            CDate_T.Text      = model.CommentTime.ToString();
        }