We have to export grid view control to image.I have tried to convert grid view to bitmap for that i referred this Link,But i failed to achieve the task.I also referred this Stackoverflow and asp.net links,But not yet achieved my task. Is this possible to export grid view control with data to image.If yes,How can i do.please help me out.Make sure i am using asp.net gridview control.
Asked
Active
Viewed 1,143 times
0
-
What did not work? Where exactly did you fail? Your first link refers to a `DataGridView`. That is a winforms control, and will not work in asp.net. – nunespascal Feb 06 '13 at 06:22
-
yes,I know first link refers to win forms only.My question is how to achieve in asp.net.Is this possible.I worked around a day.But result is Nill – shankar.parshimoni Feb 06 '13 at 06:32
-
Look here: http://stackoverflow.com/questions/6771645/converting-gridview-into-image – BeginnerCoder Feb 06 '13 at 06:44
-
Is it possible yes. The stackoverflow link does guild you on how to do it. But a simpler solution would be to use a component like ReportViewer bound to a DataSet, that can output images by default. – nunespascal Feb 06 '13 at 06:50
-
@BeginnerCoder I started my task from that link only.Any way thanks for your comment.I hope some one will give possible reply.Thanq. – shankar.parshimoni Feb 06 '13 at 06:52
1 Answers
1
To export a gridview to a image,
1.First export gridview data to pdf.
2.Then convert it into image.

coder
- 1,980
- 3
- 21
- 32