Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Export the Data to Excel

Export the Data to Excel

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aavesh Agarwal
    wrote on last edited by
    #1

    Hi I am Exporting The dataGrid Data To Excel..i have done it but the problem is in my grid lots of data So i have used Paging in That when i m exporting the Grid Data insted of Exporting Whole Data it export only those data which shown in Grid and i want to export whole data.. pls tell me how can i acheive my target.. Thanks in Advance Avesh

    S 1 Reply Last reply
    0
    • A Aavesh Agarwal

      Hi I am Exporting The dataGrid Data To Excel..i have done it but the problem is in my grid lots of data So i have used Paging in That when i m exporting the Grid Data insted of Exporting Whole Data it export only those data which shown in Grid and i want to export whole data.. pls tell me how can i acheive my target.. Thanks in Advance Avesh

      S Offline
      S Offline
      ShruthiLavan
      wrote on last edited by
      #2

      Try this.. Add the following code before export to excel. GridView1.AllowPaging = False GridView1.DataBind() In the pageload set allowpaging true to the gridview

      You can't do everything... But you can do something... So never refuse to do something that you can.....

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups