How to create a hyperlink on a table cell ?

F

fiefie.niles

I am using .NET Framework 1.1 and VB.NET for the language.
I would like to create a table where the first column texts are
hyperlinks so that I can click on it to go to another page. How can I
do that ? Thanks.

Dim i As Integer

For i = 1 To 9
Dim tempRow As New TableRow
Dim j As Integer
For j = 0 To 4
Dim tempCell As New TableCell
tempCell.Text = "(" & i & "," & j & ")"
tempRow.Cells.Add(tempCell) --> How can I create
hyperlink on this cell ?
Next j
TblJobs.Rows.Add(tempRow)
Next i
 
D

daniel #

Dim MyHyperlink as new HyperLink
MyHyperlink.xxxx = "yyyyy"
tempCell.Controls.Add(MyHyperlink)

Regards
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top