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

in your html code you need

<input type="button" value="Print" onclick="javascript:window.print();" />

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.