Figures
Figure 3
Figure 3
Figure 3 New TemplateColumn Code
<asp:TemplateColumn ...>
•••
<template name="EditItemTemplate">
  <asp:dropdownlist runat="server" 
    id=ddTitles
DataSource='<%# TitlesOfCourtesy()%>' />
  <asp:textbox runat="server" id=tbFirstName
    Text='<%# 
    DataBinder.Eval(Container.DataItem, 
    "firstname") %>' />
    <asp:textbox runat="server" id=tbLastName
    Text='<%# 
    DataBinder.Eval(Container.DataItem, 
    "lastname") %>' />
</template>
</asp:TemplateColumn>
Figure 4 Validation Controls
Control
Description
RequiredFieldValidator
Forces users not to ignore a given input field
CompareValidator
Ensures that the user's entry is compatible with a constant, a database value, or another field's content
RangeValidator
Ensures that the user's entry is between the specified lower and upper boundaries
RegularExpressionValidator
Verifies that the user's entry matches the given regular expression pattern
CustomValidator
Ensures that the user's entry matches your custom logic
Figure 6 Fields Filled in

Figure 6 Fields Filled in

Figure 7 Deselect Option

Figure 7 Deselect Option

Page view tracker