Solved

How to convert a gridview to excel on webpage

Posted on 2011-09-19
4
217 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
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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 …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now