Solved

How to convert a gridview to excel on webpage

Posted on 2011-09-19
4
225 Views
Last Modified: 2012-05-12
I have requirement where i need to display the data in table as gridview and if the enduser needs he/she can click on the button to load the gridview data to excel. Can some one give a step by step procedure to make this happen. I would like to know the simple solution.
0
Comment
Question by:panthi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:panthi
ID: 36582559
can anyone give a working example code that does not use ajax
0
 
LVL 12

Accepted Solution

by:
jagssidurala earned 500 total points
ID: 36582603
have you gone through links provided above.

1) First link clearly explained you how to generate an excel with a result set(DataTable) with entire code.

other links also provided you entire code implementation
0
 

Author Comment

by:panthi
ID: 36582758
i am getting some error with the first link function,
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question