How to use ExportToExcel.ColumnsToExclude ?

May 24, 2011 at 7:56 PM

Hi!

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 8: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.

Sample:


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

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

Greetings
Grzegorz Pawluch