Blue Ink
Blue InkHomeBlue Ink SolutionsArticlesBlue Ink Net CommunityBlue Ink Demo ApplicationAbout Automated Architecture
My Profile
login/register
0

Creating dropdowns 'without' creating lookup tables

View General Forum | Post Response | New Topic

Author Message
yashmi
Mar 22 2006
9:01 AM
How can I use blue Ink to create dropdowns without creating lookup tables?
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.

View General Forum | Post Response | New Topic






ARTICLES

What is Rapid Application Development?


QUESTIONS?

Call us toll free:
(877) 756-3595

Or Visit Forums

    

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