0

Hi i'm almost done with my project for our C# ASP.NET class but have just one thing left to do, and that is to print my datagrid view as is, with header included. Now i have absolutely no idea how to do this. I tried some javascript codes etc. but i'm getting nowhere. I'm filling my datagrid with a DataTable (coded myself). Any one have some suggestions?

Thnx in advanced!:-/

Note: I'm using a master page for all my pages!

Edited by phoenix_dwarf: Master Page...

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by ashtej
0

I'm currently using this piece of code but would really like it to work with a button:

<a href="javascript:window.print()">Print Page(s)</a><br />
0

Hi..
PLZ check this

<a href="#" onclick="window.print()" style="border: 0;">
<img src="../images/printer-icon.jpg" style="border: 0;" width="83" height="70" alt="" /></a>

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.