首页 新闻 赞助 找找看

mvc中使用fck怎么显示从数据库中得到的值?

0
悬赏园豆:5 [已关闭问题]

<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="100%" >
 </FCKeditorV2:FCKeditor>

在页面中的fck是一个控件,如上,在controller中得到fck中的内容是

        //编辑新闻
        [AcceptVerbs(HttpVerbs.Post), ValidateInput(false)]
        public ActionResult EditNews(string id, string Title, string Content, string CateCode, string type, string FCKeditor1, HttpPostedFileBase picture)
        {
            string PhotoPath = getPhotoPath(picture);
           
            string news_content = FCKeditor1;
            NewService.EditNews(id, Title, news_content, CateCode, type, PhotoPath);
            ViewData["News"] = NewService.getNewsList();
           
            return View("Index");
        }
请问如果从数据库中得到fck的值后,怎么传给fck显示出来?

小傻瓜的主页 小傻瓜 | 初学一级 | 园豆:195
提问于:2009-07-09 15:51
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册