他那个从GridView导出数据到Exel,htlm,text利用进度条显示是怎么实现的啊,看半天看不懂。
广告:21922910 DevExpress讨论群,欢迎加入!

解决方案 »

  1.   

    gridView.ExportToExcel()
    这个方法可以有办法查看他的进度么!?
      

  2.   

    DevExpress, 我喜欢,停靠面板好用。
      

  3.   

    BaseExportLink link = gridView1.CreateExportLink(provider);
    (link as GridViewExportLink).ExpandAll = false;
    link.Progress += new DevExpress.XtraGrid.Export.ProgressEventHandler(Export_Progress);
    link.ExportTo(true);
    provider.Dispose();
    link.Progress -= new DevExpress.XtraGrid.Export.ProgressEventHandler(Export_Progress);关键就是在BaseExportLink