Пример #1
0
        public static void GetExcelDownloadTreeList(TreeListView _tableView, string _strFileName)
        {
            try
            {
                _tableView.ExportToXls(_strFileName, new XlsExportOptionsEx()
                {
                    ExportType = DevExpress.Export.ExportType.WYSIWYG
                });

                Process.Start(string.Format(_strFileName));
            }
            catch { throw; }
        }