Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > show a select menu according to a rule from Database

Thread Tools

show a select menu according to a rule from Database

Posts: n/a
My case is from the client site web page, there is a select menu, on a
which dynamically show all data from a database

But the data under this select menu which need to follow a rule which
on a field on database,
that is mean everytime when i change the data on this field, select
menu will show different
order number due to rule change.

for example:

a record in a field: " 1-10|1,10.5-12|0.5,13-10|-1 "

that is mean from list all number from 1 to 10 increase by 1, from
10.5 to 15, increase by 0.5,
and from 16 to 20 increase by 1.

so the select menu will list all the result as followed:


my question is how to set this rule on this ASP page ?

please reply with the sample code.

thank you very much
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Database Database Database Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase Computer Information 0 09-26-2012 09:40 AM
how to add validation rule for url in the validation-rule.xml ,I added some thing like this but......... Java 0 10-12-2006 08:36 AM
Dumb question about using a <SELECT> menu to change the state of<SELECT> menu... Bonge Boo! Javascript 5 04-25-2005 10:49 PM
How to display records according to this rule? Miguel Dias Moura ASP .Net 5 12-09-2004 09:28 AM