Re: DataGridView - Printing

Tech-Archive recommends: Speed Up your PC by fixing your registry



What about those of us stuck on .NET 2.0 ?

"Zhi-Xin Ye [MSFT]" <v-zhye@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:YlhITBioJHA.1704@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Jeff,

Welcome to Microsoft Managed Newsgroup, I'm Zhi-Xin Ye, It's my pleasure
to
work with you on this issue.

There's no build-in print support for DataGridView control, there're two
options to print the content:

1. Use the standard printing system provided by Windows Forms and manually
print out the information that you want. There're lots of examples
availables:

Another DataGridView Printer
http://www.codeproject.com/KB/printing/DGVPrinter.aspx

The DataGridViewPrinter Class
http://www.codeproject.com/KB/printing/datagridviewprinter.aspx

Printing a DataGridView on DotNet Framework
http://www.codeproject.com/KB/grid/GridDrawer.Net.aspx


2. Use the DataGridView's clipboard copy support to copy the content to an
Excel file and then print that.

For more information about DataGridView's clipboard copy support , you can
refer to this document:
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cl
ipboardcopymode.aspx

If anything is unclear or you have any concerns, please feel free to let
me
know, I will be happy of assistance.

Have a nice day!

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support
Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.



.



Relevant Pages

  • RE: DataGridView renderer
    ... Thank you for using Microsoft Managed Newsgroup Service, I'm Zhi-Xin Ye, ... DataGridView is slow or the loading of data in the DataGridView is slow? ... Microsoft Managed Newsgroup Support Team ...
    (microsoft.public.dotnet.framework)
  • RE: Questions on DataGridView and XML files
    ... Thank you for using Microsoft Managed Newsgroup Service. ... and assign this DataSet to the DataGridView as data source. ... Microsoft Managed Newsgroup Support Team ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Using ConfigurationManager from non-startup project
    ... Thank you for using Microsoft Managed Newsgroup Service, I'm Zhi-Xin Ye, ... Create a new Class Library project with name "ClassLibrary1" in the same ... Microsoft Managed Newsgroup Support Team ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Display a wait message.
    ... Thank you for using Microsoft Managed Newsgroup Service, I'm Zhi-Xin Ye, ... display a label or a ProgressBar to show the progress. ... Microsoft Managed Newsgroup Support Team ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: DataGridView - Printing
    ... Welcome to Microsoft Managed Newsgroup, I'm Zhi-Xin Ye, It's my pleasure to ... There's no build-in print support for DataGridView control, ... Microsoft Managed Newsgroup Support Team ...
    (microsoft.public.dotnet.framework.windowsforms.controls)