各位兄弟怎么将cxGrid导出到Excel表呀以前的DBGRID很简单的!

解决方案 »

  1.   

    uses
      cxExportGrid4Link;procedure TForm1.Button1Click(Sender: TObject);
    begin
      ExportGrid4ToEXCEL('d:\wang.xsl',cxGrid1,True,True);
      ExportGrid4ToTEXT('d:\wang.txt',cxGrid1,True,True);
      ExportGrid4ToXML('d:\wang.xml',cxGrid1,True,True);
      ExportGrid4ToHTML('d:\wang.html',cxGrid1,True,True);
    end;
      

  2.   

    厉害  camel4057  我也需要
      

  3.   

    cxGrid
    这是个什么东西哟?
    在哪可以见到》?