views:

39

answers:

0

Hi,

I have datagrid from where i need records to export to excel. I have follow the code from

http://www.c-sharpcorner.com/uploadfile/dipalchoksi/exportaspnetdatagridtoexcel11222005041447am/exportaspnetdatagridtoexcel.aspx

This works perfect but with only one issue. When i export into excel, i see the paging (...10,9,8,7,6,5,4,3,2,1) at the first row as well as at the last row (i.e after my records are over) in the excel each time.

Please help!