Visual Basic .NET » Visual Basic .NET General Discussion
Data grid view printing vb.net -- ParagYerawar --


Hi,
Can anyone help me about, how to print data grid view.

-- Laresuco --


You need to print directly the GridView or you can give the user the ability to print the information? becauseyYou can export all the data to excel and then try to tell Excel to print the document, this article talks about exporting a DataTable to excel:

http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp 


Hope this will help.

-- ParagYerawar --



Laresuco wrote:
You need to print directly the GridView or you can give the user the
ability to print the information? becauseyYou can export all the data
to excel and then try to tell Excel to print the document, this article
talks about exporting a DataTable to excel:

http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp 


Hope this will help.
hi,thanks but i want to show grid data to report viewer without using excel. 


-- ParagYerawar --


Solved this problem now i can print datagridview data to print preview

-- joquest --



Parag Yerawar wrote:
Solved this problem now i can print datagridview data to print preview

How did you solve the problem? 


[Submit Comment]Home