A
Agnes
I create a table on the asp.net (web page)
there are two column , Invoice Number and download link button.
When the user click the button, the correponsed pdf will be shown.
How can I do that ??
Thanks a lot
Do While drRv.Read
Dim r As New TableRow()
Dim i As Integer
Dim c As New TableCell()
c.Controls.Add(New LiteralControl(drRv.Item("number")))
r.Cells.Add(c)
c = New TableCell()
Dim btnDownload As New LinkButton <-- ???
btnDownload.Text = "DownLoad"
btnDownload.Site = "/wto_web_doc/" + drRv.Item("hawbno") +
".pdf"
c.Controls.Add(btnDownload)
r.Cells.Add(c)
'Next i
Me.tbInvoice.Rows.Add(r)
Loop
End Sub
End Class
there are two column , Invoice Number and download link button.
When the user click the button, the correponsed pdf will be shown.
How can I do that ??
Thanks a lot
Do While drRv.Read
Dim r As New TableRow()
Dim i As Integer
Dim c As New TableCell()
c.Controls.Add(New LiteralControl(drRv.Item("number")))
r.Cells.Add(c)
c = New TableCell()
Dim btnDownload As New LinkButton <-- ???
btnDownload.Text = "DownLoad"
btnDownload.Site = "/wto_web_doc/" + drRv.Item("hawbno") +
".pdf"
c.Controls.Add(btnDownload)
r.Cells.Add(c)
'Next i
Me.tbInvoice.Rows.Add(r)
Loop
End Sub
End Class