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
474 Chapter 10 • Developing Web Applications
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Imports Microsoft.VisualBasic
After the imported namespaces, there is a declaration of class for our Web
form; this class must inherit from the Page object, thereby exposing the Page
properties and events.Then we have declarations of all the controls placed on the
form with the WithEvents clause so that they can expose their events:
Public Class WebForm1
Inherits System.Web.UI.Page
Protected WithEvents cmdGetDetails As
System.Web.UI.WebControls.Button
Protected WithEvents txtCustomerID As
System.Web.UI.WebControls.TextBox ...
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