Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 September 9th, 2003, 07:03 PM
Registered User
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default print datagrid or dataset

I want to print a datagrid, i use this statement :

Dim myPaintArgs As New PaintEventArgs(e.Graphics, New Rectangle(200, 200, Me.Width, Me.Height))
Me.InvokePaint(DataGrid1, myPaintArgs)

The result is : it can be print, but it always in location 0,0 or
in upper left corner all the time.
How can i move it in a new location let say 100,100 ? or if u can't
are there any other way to print a datagrid or a dataset?

Please this is very important. Thank u for u'r kindness...
Sorry for my bad english..:).
Old March 20th, 2005, 09:40 PM
Registered User
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to laney_18_boggs

try this one..



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to print wide datagrid? brad-jenny General .NET 0 September 6th, 2007 03:52 PM
Moving a Dataset in a Datagrid up or down TheRealEclipser ASP.NET 1.0 and 1.1 Professional 1 March 13th, 2006 01:02 AM
to print datagrid contents josna VB.NET 6 January 13th, 2006 12:02 AM
Print of DataGrid KashifAzam C# 1 September 16th, 2004 02:09 PM

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