ASPAlliance.com : The #1 Active Server Pages .NET Community The #1 ASP.NET Community
Search   Search

Subscribe   Subscribe

Powered by ORCSWeb Hosting


Site Stats


Powered By ASP.NET
 
Featured Sponsor

Featured Columnist


Featured Book
ASP.NET Unleashed
ASP.NET Unleashed

Find Prices
Read Review
Sample Chapter
Sample Chapter
Sample Chapter
Sample Chapter


New! asp.netPRO

We publish our articles in the standard RSS format.

Powerful .NET Email Component

Code Sharing Software
OldTable.aspx.vb by Damian Manifold
  1 public class oldtable
  2     Inherits System.Web.UI.Page
  3     protected WithEvents Alliance1 as DPM.Alliance
  4     protected WithEvents Alliance2 as DPM.Alliance
  5     protected WithEvents Literal1 as System.Web.UI.WebControls.Literal
  6 
  7     private Sub Page_Load(ByVal sender as System.objectByVal e as System.EventArgs) Handles MyBase.Load
  8         'create the table
  9         Literal1.Text = "<Table Border=1 Width=50%><tr>"
  10         'create the title
  11         Literal1.Text += "<td colspan=2 align=center bgcolor=silver>Server Created Table</td></tr>"
  12 
  13         'loop and create some rows
  14         Dim i as Integer
  15         for i = 0 To 10
  16             Literal1.Text += "<tr bgcolor=" + (&H999999 + (i * 1024)).ToString + ">"
  17             Literal1.Text += "<td>" + i.ToString + "</td>"
  18             Literal1.Text += "<td> this is row " + i.ToString + "</td>"
  19             Literal1.Text += "</tr>"
  20         Next
  21         Literal1.Text += "</table>"
  22 
  23     End Sub
  24 
  25     private Sub InitializeComponent()
  26 
  27     End Sub
  28 End class
OldTable.aspx.vbGenerated using CodeView
 Copyright © 2000-2003 ASPAlliance.com  Page Rendered at 11/8/2009 1:34:32 AM