Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
Developing Web Applications • Chapter 10 499
8. Place the following code inside the class:
Protected Overrides Sub CreateChildControls()
'adding Para
Me.Controls.Add(New LiteralControl("<p>"))
'adding title
Dim lblCustomerOrder As New Label()
lblCustomerOrder.Text = "Customer Order Details"
lblCustomerOrder.Font.Size = FontUnit.XLarge
Me.Controls.Add(lblCustomerOrder)
'closing para
Me.Controls.Add(New LiteralControl("</p>"))
'adding Para
Me.Controls.Add(New LiteralControl("<p>"))
'adding Label control
Dim lblCustomerID As New Label()
lblCustomerID.Text = "CustomerID"
lblCustomerID.Font.Bold = True
Me.Controls.Add(lblCustomerID)
'adding Text Box
Dim txtCustomerID ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480