<asp:Button ID="Button1" runat="server" Text="打印" class="buttonNoPrint" OnClientClick="javascript:window.print();return false;" />
<style type="text/css">
@media print {
.buttonNoPrint
{
display: none;
}
}
</style>