Re: How to print a ListView? by kamlesh
kamlesh
Tue Nov 28 19:49:58 CST 2006
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.
Cheney Lee wrote:
> 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