简体   繁体   中英

Print Datagrid in ASP.NET using vb.net

My question is how to print data of datagrid in asp.net using vb.net. Data is in the form of rows and columns, stored in datagrid. I want to print the data using vb.net. I searched for some built-in component but couldn't find the exact one. Although, printdocument is only for windows form applications.

Can you please help me out!

All suggestions are welcome.

You can use WebForms ReportViewer Control . If you use a DataSet to populate your datagrid you can set it as a ReportSource in a rdlc file and display it in a ReportViewer .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM