怎么修改并保存编辑器里的内容啊
我把编辑器扔到DetailsView中某一列中的模板里面了
我也绑定了他的值
能读取
                <asp:TemplateField HeaderText="内容">
                    <ItemTemplate>
                        <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="../fckeditor/" 
                            Height="200px"  Value='<%# Eval("EContent") %>' Width="100%">
                        </FCKeditorV2:FCKeditor>
                    </ItemTemplate>
                </asp:TemplateField>
我也有定义更改数据的方法
 现在是  其他的数据我能修改并保存但是编辑器里的内容  保存不进去

解决方案 »

  1.   

    FCKeditor1.value=row["EContent"].ToString();附值
    strin content=FCKeditor1.value;//获取内容
      

  2.   


    我看错了...       public static void Update(int EId, string Title, string Time, string EContent)
           {
               EducationInformation education = EducationInformationService.GetEducationById(EId);
               education.Title = Title;
               education.Time = Time;
               education.EContent = EContent;
               EducationInformationService.Update(education);
           }
            public static void Update(EducationInformation education)
            {
                string sql = "UPDATE EducationInformation " + 
                    "SET " + 
                    "Title  = @Title, " +
                    "Time = @Time, " +
                    "eContent = @eContent " +
                    "WHERE eId = @EId";
                SqlParameter[] para = new SqlParameter[]
    {
    new SqlParameter("@eId", education.EId),
    new SqlParameter("@Title", education.Title),
    new SqlParameter("@Time", education.Time),
    new SqlParameter("@eContent", education.EContent),
    };
                DBHelper.ExecuteCommand(sql, para);
            }
      

  3.   


    string content = (DetailsView1.FindControl("FCKeditor1") as FCKeditor).Value;
      

  4.   

    DetailsView编辑