943,942 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4122
  • ASP.NET RSS
Apr 25th, 2007
0

How to print the items in a datagrid in ASP .Net

Expand Post »
Hi All..

I have a datagrid holding values in it..I have a button below that datagrid(print button)..If i click the print button the datagrid values should be sent to the printer and the print out must be taken..I have the datagrid in as .aspx page(ASP .NET)
Someone help in this regard with the code..

Regards,
Balagurunathan S
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
BalagurunathanS is offline Offline
26 posts
since Apr 2007
Apr 26th, 2007
0

Re: How to print the items in a datagrid in ASP .Net

in your html code you need

<input type="button" value="Print" onclick="javascript:window.print();" />
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Calculation in FormView part 2
Next Thread in ASP.NET Forum Timeline: help for auto complete text box





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC