Solved

Need to save gridview as a image file

Posted on 2008-06-20
2
1,026 Views
Last Modified: 2010-04-21
Hi I have a gridview control on a web form and I need to save it as a Image either a .jpg, .tiff .png can anyone tell me how to do this?
0
Comment
Question by:charlesbaldo
2 Comments
 
LVL 5

Accepted Solution

by:
sadburger earned 500 total points
ID: 21831199
You could programmatically take a screen shot of the running application and save it as an image file.

See: http://www.c-sharpcorner.com/UploadFile/thiagu304/SnapIt01192007084645AM/SnapIt.aspx for examples of how to save a screenshot from within your .NET code.

You are basically going to be looking at the System.Drawing.Imaging namespace, the Bitmap class, and the CopyFromScreen method.
0
 

Author Closing Comment

by:charlesbaldo
ID: 31469145
Thats a great start, I appreciate the quick response.  Will have more posts on this project later for sure. Thanks again
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

705 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

19 Experts available now in Live!

Get 1:1 Help Now