1. Could you update the code for ExportToCSV to that it uses the HeaderText, if available, instead of the DataField or UniqueName? This would make it consistent with ExportToExcel.
2. Also, I believe the method should be named ExportToCsv, according to Microsoft's naming guidelines (acronyms three characters or longer should be Pascal-cased, not uppercase). Same for ExportToPdf (not ExportToPDF).
Thanks,
David
2. Also, I believe the method should be named ExportToCsv, according to Microsoft's naming guidelines (acronyms three characters or longer should be Pascal-cased, not uppercase). Same for ExportToPdf (not ExportToPDF).
Thanks,
David