locked
Hide Gridview paging on export to excel asp.net RRS feed

  • Question

  • User-1218295081 posted

    Dears,

    I want to hide gridview paging on export to excel asp.net without using AllowPaging = False

    Thank you.

    Wednesday, July 20, 2016 8:51 AM

Answers

  • User-1902643333 posted

    Dear

    I don't want to use AllowPaging = False

    Thank you

    Then u can export directly through the DataTable instead of exporting a GridView. I mean you should combine strings together with data in the DataTable by foreach to loop its DataRow, DataColumn……,ect.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 20, 2016 11:19 AM

All replies