georgepatotk Posted March 26, 2004 Posted March 26, 2004 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 Quote George C.K. Low
wessamzeidan Posted March 26, 2004 Posted March 26, 2004 you can place your controls in a panel and add the panel to the Controls collection of the table cell Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.