Lee Richardson
(Admin)
Mar 22 2006 9:42 AM
|
Hmmm, I was afraid that the pricing structure might lead to denormalization. In any event you can look at any table with a column type of boolean for sample code. Basically it looks like:
<asp:DropDownList id="ddlDiscontinued" runat="server">
<asp:ListItem></asp:ListItem>
<asp:ListItem Value="True">Yes</asp:ListItem>
<asp:ListItem Value="False">No</asp:ListItem>
</asp:DropDownList>
Replacing Blue Ink's <asp:TextBox with the <asp:DropDownList on insert pages should be sufficient. It should be pretty similar on edit pages, but you'll have to set the existing value by overriding [TableName]_Edit_Base's PopulateControls() method. |