Solved

Printing a DatagridView  In c#

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

10 Experts available now in Live!

Get 1:1 Help Now