Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2003, 02:13 PM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# DataGrid Printing

Does anyone know how to print a C# Windows Form which contains both a DataGrid and TextBox information? I am not able to get the Print Preview Dialog to display anything nor the PrintPage Dialog to print anything except a blank form. I want the form to print the way it looks on the screen when the report is run. I cannot use the screen capture method because my DataGrid contains multiple pages of information. Any help greatly appreciated!!
 
Old July 7th, 2004, 01:28 AM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here is a perfect sample of printing a datagrid in C#

http://www.c-sharpcorner.com/Downloa...dPrinterMG.zip

Azadeh
 
Old September 30th, 2004, 09:34 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here is a new one:

http://www.codeproject.com/cs/miscct...ridPrinter.asp





Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing in ASP.NET through DataGrid agro_menon Pro VB Databases 0 July 16th, 2007 01:02 AM
Printing DataGrid Data koneruvijay VS.NET 2002/2003 4 April 10th, 2007 05:58 AM
Datagrid printing Amorous ASP.NET 1.0 and 1.1 Basics 1 April 6th, 2006 12:25 AM
DataGrid printing - CSS settings jernej CSS Cascading Style Sheets 1 October 27th, 2005 05:31 AM
printing from datagrid in VB.NET emilyjeany VB Databases Basics 0 September 22nd, 2004 09:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.