How to use ExportToExcel.ColumnsToExclude ?

May 24, 2011 at 8:56 PM


Please, show me how to use property ColumnsToExclude  (ExportToExcel.ColumnsToExclude ) ?

Any sample apllication or few lines of code?

Have a nice day

Grzegorz Pawluch

May 26, 2011 at 9:42 PM

I found answer in source code of ExportToExcel.ColumnsToExclude.

The answer is:

Property ColumnsToExclude users zero based index of gridview columns to exclude.


ExportToExcel1.ColumnsToExclude ="0,2,4";

So it works. I would like say thanks you to the author of the ExportToExcel :)

Grzegorz Pawluch