发布博客或文章的时候。都有换行。居中,字体颜色等功能。这个也就是自定义控件了。
这些要怎么存进数据库当中? 怎么取这些数据? 
我需要asp.net的清晰代码。非常感谢!!!。

解决方案 »

  1.   

    fckeditor控件。
    存入数据库是html代码。
      

  2.   


     <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
    <FCKeditorV2:FCKeditor ID="tbBack" ToolbarSet="Basic" runat="server" DefaultLanguage="zh-cn"   Width="536px" Height="218px" >
                    </FCKeditorV2:FCKeditor>
    string aa=tbBack.Value;
    然后你吧aa存到数据库就行了 hoho
      

  3.   

    把它们全部html存进数据库,然后全部html读出来就行了~~~~
      

  4.   

    fckeditor等第三方的控件就可以