Hi,
Problem wit the print dialog.
I have a sheet which has data in it and i need to print it.
Am using the normal ShowDialog() method, which takes me to printer connected to the local machine,
I need to use the Dialog result for ShowPrintDialog() method, its not possible, bcoz this method is declared void,
So how do use the dialog result class for ShowPrintDialog().
Help me out

See this. It's for VB but the difficulty is exactly the same. They say to add a PrintDialog to the form in addition to the webbrowser control.

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.