• The eternal confessions of a beautiful mind...
  • DamianM.Co.UK
  • Home
  • About
  • Archives
  • Contact
  • Sitemap
  • My Flickr

    IMG_2038IMG_2037IMG_1929IMG_1858IMG_1832IMG_1826IMG_1824IMG_1815IMG_1729IMG_1722IMG_1649IMG_1602IMG_1595IMG_1594IMG_1578IMG_1454IMG_1446IMG_1438IMG_1422IMG_1407

  • Recent Posts

    • Good News
    • Another Toy Recalled
    • Excuse my French
    • A good catholic lightswitch
    • What they would look like if they weren’t famous!!
    • Funniest Valedictorian Speech Ever
    • Can you spot the bands?
    • Strictly for the office
    • Failing the exam with dignity
    • New Ohio Roller Coaster - INSANE!!!
    • Speeding
    • Captions not required
    • Unfortunate Backgrounds
    • Unfortunate Signs
    • OMG!!
  • My Tools

    • Blog_LinkIt
    • DCoda Theme
    • DCoda Widgets
    • RSS_Sticky
    • WordPress.org
    • WP_BlogNetworking
    • WP_BoilerPlate
    • WP_Censor
    • WP_ContactMe
    • WP_DeliciousPost
    • WP_EasyReply
    • WP_HeadNFoot
    • WP_LinkIt
    • WP_LinkSync
    • WP_OneInstall
    • WP_PostDate
    • WP_PostNotes
    • WP_RssSticky
    • WP_Spoiler
    • WP_Submission
  • My Web

    • ASPAlliance
    • ClaimID
    • del.ico.us
    • Digg
    • DSLRBlog
    • DVDProfiler
    • Flickr
    • Honeyed SPAM
    • My Blog
    • My company
    • MYSpace
    • WordPress.org
    • YouTube

    OldTable

    OldTable.aspx

    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    <%@ Register TagPrefix="cc1" Namespace="DamianM" Assembly="DamianM" %>
     
    <%@ Control Language="vb" AutoEventWireup="false" Codebehind="oldtable.aspx.vb" Inherits="DamianM.oldtable" %>
     
    <center>
     
     <asp:literal id="Literal1" runat="server"></asp:literal>
     
    </center>

    OldTable.aspx.vb

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    
    Public Class oldtable
     
        Inherits System.Web.UI.UserControl
     
        Protected WithEvents Literal1 As System.Web.UI.WebControls.Literal    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
     
            'create the table
     
            Literal1.Text = "
    <table border="1" width="50%"><tbody>
    <tr>"
     
            'create the title
     
            Literal1.Text += "
    <td colspan="2" align="center" bgcolor="silver">Server Created Table</td>
    </tr>
    "
     
    'loop and create some rows
     
            Dim i As Integer
     
            For i = 0 To 10
     
                Literal1.Text += "
    <tr bgcolor="#000999">"
     
                Literal1.Text += "
    <td>" + i.ToString + "</td>
    "
     
                Literal1.Text += "
    <td>this is row " + i.ToString + "</td>
    "
     
                Literal1.Text += "</tr>
    "
     
            Next
     
            Literal1.Text += "
    </tbody></table>
    "
     
    End Sub
     
    Private Sub InitializeComponent()
     
    End Sub
     
    End Class

    Leave a Reply

    Related Posts from the Past:

    No results.