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 479
HeaderStyle-ForeColor: White
AlternatingItemStyle-BackColor: Silver
After placing the DataGrid control in the Web form, your design
area should appear as shown in Figure 10.5.
For this design, the user enters a Customer ID and clicks the Get
Order Details button. So, for the Button Click event, we need to write
code to get the orders placed by the customer. In order to reuse the
code, we create a function that will return the dataset containing the
orders placed by the customer for a given Customer ID.
3. Add the following code to your page in WebForm1.vb:
Public Function GetOrders(ByVal CustomerID As String) ...
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