Hi Folks
I have a datatable containg names and addresses displayed in a datagridview and need to send these to the printer.
Whats the easiest way to do this?
I dont wan't to screw about with crystal reports e.t.c.
Thanks In Advance
Printable View
Hi Folks
I have a datatable containg names and addresses displayed in a datagridview and need to send these to the printer.
Whats the easiest way to do this?
I dont wan't to screw about with crystal reports e.t.c.
Thanks In Advance
The datagridview control has a drawtobitmap method. I am not sure how well it works, but you could try it. You could also export the data to excel or notepad and print the file.
Our fellow VBF member Merion submitted a class to print a datagrid/datagridview in VB.Net codebank. Do a search for it and you should find it.
If you can get away with just printing the sceen, you can use PowerPacks Print Form.
It's so easy to use even I figured it out lol
Not sure the version your using but its an add-on for 2005 and i think it comes with 2008 you will have to check