Hi everyone,
this should be a quick question. I am use ListView control to bind
some date,now I need to print the infor in ListView.Howeve,there is not
some method call ListView.Print(), So anyway, if anyone knows of how
to deal with that, I'd love to hear about it.
Thanks!
Kiven Lee
kamlesh - 29 Nov 2006 01:49 GMT
Hi Lee,
Everyone wishes if life was that simple!
We dont have ListView.Print() option.
What you shoulod do is to extract the data from the ListView object and
feed the data into
System.Drawing.Printing.PrintDocument obect
Set the parameters to the PrintDocument object
Once that is done, we can fire a PrintDocument.Print() method.
Thanks,
Kamlesh.
> Hi everyone,
> this should be a quick question. I am use ListView control to bind
[quoted text clipped - 4 lines]
> Thanks!
> Kiven Lee