Hi
my previous code was
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Request.QueryString("APID") Is Nothing Then
Response.Redirect("~/Finance/Write_Chq.aspx")
Else
PrintCheque()
End If
End If
End Sub
then code change to
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
PrintCheque()
End Sub
Then print and export commands working.