Solved

How to convert a gridview to excel on webpage

Posted on 2011-09-19
4
223 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
 
LVL 12

Expert Comment

by:jagssidurala
ID: 36562044
0
 

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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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