georgepatotk
Contributor
Code:
Dim i As Integer
For i = 0 To 10
Dim hylink As New Label
hylink.Text = "<A href = ""http://www.google.com"">Google" & i & "</a>"
Dim tbcell As New TableCell
tbcell.Controls.Add(hylink)
Dim tbrow As New TableRow
tbrow.Cells.Add(tbcell)
Table1.Controls.Add(tbrow)
Next
above is the code for displaying data into a table, it works fine.
But now, I want to display multi column in the table, how should I do?
I want to display as the format shoen below:
Number URL Hits
1 www.google.com 1000
2 www.yahoo.com 100