Solved

Printing a DatagridView  In c#

Posted on 2011-03-07
2
2,074 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
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

3 Use Cases for Connected Systems

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is "public object" in C#? 3 47
Reading the Web.Config using IIS 7.5? 4 36
Alert on Server memory 2 23
VB.NET 2008 - SQL Timeout 9 24
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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