Need to save gridview as a image file

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?
Charles BaldoSoftware DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sadburgerConnect With a Mentor Commented:
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
 
Charles BaldoSoftware DeveloperAuthor Commented:
Thats a great start, I appreciate the quick response.  Will have more posts on this project later for sure. Thanks again
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.