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
504 Chapter 10 • Developing Web Applications
Protected Sub MyCompositeControl_Click(ByVal Sender As
System.Object,
ByVal e As System.EventArgs) Handles
MyCompositeControl.Click
lblTest.Text = MyCompositeControl.CustomerID
End Sub
When the button is clicked, the preceding code changes the text of
the label to the Customer ID entered by the user.
10. Press F5 to run the program. Now when you click the button, you will
see that the text on the label changes to whatever you have entered.
We can even add the validation controls to validate the user input, which we
used in Exercise 10.5.As an assignment, try adding validation controls to this
composite contr ...
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