我尝试通过直接往源文件中写,但是效果不理想。
会在<table></table>之间加入<tbody></tbody>。
请教高手如何加入表格,最好是同时可以编辑的那种

解决方案 »

  1.   

    我是直接使用.net中的Chtmleditview这个类
    它是由ChtmlEditCtrlBase派生的
    其中好像没有CreateElement这个函数
      

  2.   

    我对于IMarkupServices这个类不怎么了解,应该怎么使用?
      

  3.   

    自己研究一下Implementing Edit Designers 2: The Annotator Sample IHTMLDocument2::createElement MethodCreates an instance of the element for the specified tag.
    Syntax
    HRESULT createElement(
        BSTR eTag,
        IHTMLElement **newElem
    );