Solved

Printing a DatagridView  In c#

Posted on 2011-03-07
2
2,168 Views
Last Modified: 2013-12-17
We have a UI application which has a Datagridview which displays the data from a CSV.We want to provide a print option in the UI , which enables the user to
1.  Preview before printing Page
2. Change Print PageSettings
3. Fit the entire grid to the print Page
4. landscape or portrait option

Please help for the same.Application in c#(.net 3.5)


0
Comment
Question by:Manajit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 250 total points
ID: 35057138
DataGridView Print/Print Preview Solution - Part I
http://www.codeproject.com/KB/printing/GridPrintPreviewSolution.aspx

DataGridView Print/Print Preview Solution - Part II
http://www.codeproject.com/KB/printing/GridPrintPreviewSolution2.aspx
0
 
LVL 3

Expert Comment

by:kumarnimavat
ID: 35166863
Hope the below given link would help you :-

http://www.xmlfox.com/print_datagridview.htm
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Return array 3 33
Adjust the codes 3 63
CSS question 16 62
.NET Redemption/Outlook Examples 3 28
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 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