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
Using ADO.NET • Chapter 9 449
DLShippers.DataSource =
sShippers.Tables("Shippers").DefaultView
DLShippers.DataBind()
End Sub
This procedure handles the event bubbled up from the browser:
Public Sub DataList_Click(ByVal Source As Object, _
ByVal E As DataListCommandEventArgs)
DLShippers.SelectedIndex = E.Item.ItemIndex
Call BindData()
End Sub
Figure 9.10 shows the result.
This page shows the usage of the template tags and some of the options avail-
able.Template tags give us some options for formatting the different rows.They
really make the data controls very flexible and remove many of the reasons we
have for not using them.The available templates vary depending ...
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