Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Button1.Attributes.Add("onClick", "window.print()") End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click For GetCounter = 0 TO StopCounter Button1.Attributes.Add("onClick", "window.print()") Loop End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)