0

ユーザーに fckeditor で表示してもらい、CSS を CMS に保存してもらいたいのですが、ここから始めてみました

// aspx code
     <CKEditor:CKEditorControl runat="server" ID="txtckCss"   StartupMode="Source"></CKEditor:CKEditorControl><br>
//code behind
    string path = Server.MapPath("../App_Themes/White/Default.css");
    txtckCss.Text = System.IO.File.ReadAllText(path));

しかし、それはエラーを与えます

Object reference not set to an instance of an object.
4

0 に答える 0