Click here to Skip to main content
15,883,872 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI
I want to print data present in grid-> Listbox. Data is coming from database and i am storing it into a listbox.

Can u give me any idea!

Thanks
Rupali
Posted
Comments
Mohd. Mukhtar 16-Nov-12 1:56am    
Can you please update your code snippet here?
ridoy 16-Nov-12 4:07am    
not clear..
Suraj S Koneri 16-Nov-12 5:43am    
in first statement you are telling grid->listbox but simultaneously your are telling data storing in listbox.. correct the requirements.

1 solution

Hi I could see a good article regarding printing. This may help you. Please refer the following link

http://codeabout.wordpress.com/2010/12/27/print-from-a-listbox-using-c/[^]

http://www.c-sharpcorner.com/Forums/Thread/75404/[^]

Regards
Dominic
 
Share this answer
 
v2
Comments
Rupali Jadhav 20-Nov-12 7:42am    
Thanks.
Hope it will work for me!
But i want to print this list-box without showing print dialog box with the preselected printer.
Dominic Abraham 20-Nov-12 7:52am    
Can you check this url: http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/5ef8a9bc-629e-4e6e-8ef8-05979e64484c

Whenever the post is helpful, don't forget to mark it as answer. Then it will be helpful to others also.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900