I have folowing code:
Dim CompanyName As String = Me.txtCompanyName.Text
Dim CompanyAddress As String = Me.txtCompanyAddress.Text
Dim BankName As String = Me.txtBankName.Text
Dim r As test.Bill= Session("Bill")
r.CompanyName= CompanyName
r.CompanyAddress= CompanyAddress
r.BankName= BankName
r.SaveRacun()
r.SaveStuffOnBill()
Response.ContentType = "application/pdf"
Response.AddHeader("Content-Disposition", "attachment; filename=" & Tip & " " & BrojRacuna)
Dim pdf As PDFDocument = r.Printing()
pdf.Save()
Printing is my function and it works well. But i want to clear text boxes for entering new bill.
Where i have to put:
Me.txtCompanyName.Text = String.empty
Me.txtCompanyAddress.Text= String.empty
Me.txtBankName.Text= String.empty
I' ...
Go to the complete details ...