How to print contents of DataGridView

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

Hi All.
Is there a way to print the content of DataGridView,
Without using Graphics.DrawString on every row?
Thanks,
Sharon.
 
Sharon,

I don't believe that this is possible either. Rather, if you want to
print the contents out, you will have to cycle through the contents of the
grid, and make calls to the graphics primitives yourself.
 
...... back to the drawing board.
But I assume that the DataGridView,
already contains some graphic representation of its content.
And if it does, isn't there a way to get it?
Thanks, Sharon.

Nicholas Paldino said:
Sharon,

I don't believe that this is possible either. Rather, if you want to
print the contents out, you will have to cycle through the contents of the
grid, and make calls to the graphics primitives yourself.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Sharon said:
Hi All.
Is there a way to print the content of DataGridView,
Without using Graphics.DrawString on every row?
Thanks,
Sharon.
 
Back
Top