Blue Ink
Blue InkHomeBlue Ink SolutionsArticlesBlue Ink Net CommunityBlue Ink Demo ApplicationAbout Automated Architecture
My Profile

Creating dropdowns 'without' creating lookup tables

View General Forum | Post Response | New Topic

Author Message
Mar 22 2006
9:01 AM
How can I use blue Ink to create dropdowns without creating lookup tables?
Lee Richardson

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 Value="True">Yes</asp:ListItem>
<asp:ListItem Value="False">No</asp:ListItem>

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.

View General Forum | Post Response | New Topic


What is Rapid Application Development?


Call us toll free:
(877) 756-3595

Or Visit Forums


Copyright © 2021 Automated Architecture, Inc. All rights reserved.