private static void csvExporter_CSVCellFormatting(object sender, Telerik.WinControls.UI.Export.CSV.CSVCellFormattingEventArgs e) { if (e.GridCellInfo.ColumnInfo is GridViewDateTimeColumn) { e.CSVCellElement.Value = FormatDate(e.CSVCellElement.Value); } }
void exporter_CSVCellFormatting(object sender, Telerik.WinControls.UI.Export.CSV.CSVCellFormattingEventArgs e) { if (e.GridColumnIndex == 8 && e.GridRowInfoType == typeof(GridViewDataRowInfo)) { e.CSVCellElement.Value = "111111"; } }