|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I am going to develop a website and facing a challenge while using the tempelates, please some one who can help me. My problem is how to use a form where my select list in that form will be populated from the select query so how to use these bits and peices.?????
Last edited by abulshakoor : May 19th, 2003 at 01:30 AM. |
|
#2
|
||||
|
||||
|
You should write a generic function that will build a select list for you. Place the function call, in the template, in between the SELECT start and end tags. That's how i do mine.
My list builder looks like: drawDropDownMatch(aryListItems, iListMatchID) The first parm is an array of the list values (Value, Label). The second parm is the ID value that you write the "SELECTED" keyword if you find a match in the list. HTH, stumpy |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Templates and select list of a form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|