Populate a Drop Down List

From: Miguel Dias Moura (web001_at_27NOSPAMlamps.com)
Date: 06/12/04


Date: Sat, 12 Jun 2004 02:26:32 +0100

Hello,

i have an ASP.NET / VB page where i have a few 4 groups of Drop Down Lists.
Each group of Drop Down Lists include 3 Drop Down Lists for date such as:
DAY, MONTH, and YEAR.

I don't want to insert the values and text to each drop down list.

So i want to create a script that populates a certain Drop Down List with
certain values when page loads such as:

Day: 1,2,3,4,5,...
Month: January, February, ..., December
Year: 2004, 2003, 2002, 2001, ....

This way in that script i will be able to control how all the Drop Down
Lists are populated just bu changing the script.

Can you help me out?

Thank You,
Miguel

P.S: I am working with ASP.NET / VB.



Relevant Pages

  • [Full-Disclosure] Re: [0day] ExploitLabs.com CGI Script Irony (was: Vote Today)
    ... It is also my belief that Donnie Werner's ... For the benefit of the lists, ... Filtering Flaws in ExploitLabs.com CGI Script ... Donnie's script insecurely sanitizes the "host" URI parameter. ...
    (Full-Disclosure)
  • Re: cp/mv with verify step?
    ... script), so a quick'n'dirty check would be to see if the last argument ... is a directory (in which case you append each source filename in turn) ... for every "target" file. ... Generating the lists *could* be scripted, ...
    (comp.os.linux.misc)
  • Re: checking dns records from named.conf
    ... > I have already modified your script to read named.conf file and parse it ... generated lists to tell me which of the 20 nameservers I'm responsible ... to detect sub-domains of zones we also hold. ... Writing something to keep a single DNS platform neat and tidy is on my ...
    (freebsd-isp)
  • Re: Tracking Dependencies
    ... Solved with simple script! ... Hal Vaughan wrote: ... #Get the lists of program and module directories from the argument list ... # Loop through all the files given, read each file into an array ...
    (comp.lang.perl.misc)
  • Re: Script help: convert music files to be compatible with MPD
    ... Now i use a text editor to create a script, ... Then i open filelist with nedit and select and copy the list of files at the bottom of the file. ... Sometimes i use the shell command 'paste' to join the two lists together into one script - depending on what exactly i'm doing. ... If you haven't got an editor that can copy and paste columns, ...
    (uk.comp.os.linux)