Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

        

       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 http://www.google.com 1000

2 http://www.yahoo.com 100

George C.K. Low

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...