Solved

How to convert a gridview to excel on webpage

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

16 Experts available now in Live!

Get 1:1 Help Now