HI!
I CREATING A "POS" APPLICATION FOR MY SHOP
I WANT TO KNOW THAT HOW TO PRINT OUT DATAGRIDVIEW DATA
Like This: -
036659558a64e3ca98e61bbafd08be33
to this :
82140f006783ff6fb594ba8cff295dbf

Recommended Answers

All 5 Replies

Many examples on the web.
Just google. Example.

THANKS FOR REPLAY.........."ddanbe"
but, THIS IS PRINTING "BITMAP"
I WANT TO PRINT DATA(TEXT) FROM DATAGRIDVIEW.....

but, THIS IS PRINTING "BITMAP"

The principle is the same. You're printing an image, so the image must be drawn. The difference in your case is that you'd be drawing the text inside the grid rather than a screen cap of the grid itself. This requires looping through your rows and cells, then drawing the text on your document for printing.

Thanks for replay.............."deceptikon"
yeah!....i got your point .
can you post code for me .........?

The top-left corner of the printing page is the Point (0,0)
Use DrawString to print your text.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.