Drop Down & ASP

Results 1 to 2 of 2

Thread: Drop Down & ASP

  1. #1
    Michael W. Guest

    Default Drop Down & ASP

    Howdy!<BR><BR>I have an HTML coded drop down box on a page with other fields. When I&#039;m pulling that page up, I want all my fields to be filled with information concerning a record. I also want this drop-down box to have selected the proper choice that corresponds to the field in the database. How do I go around doing this? Thanks for any help!

  2. #2
    Heaven's Martini Guest

    Default RE: Drop Down & ASP

    No offense dude,<BR><BR>but you really need to learn the asp basics.<BR><BR>just to get you started.<BR>&#060;select name=akhileshsmokes size=1&#062;<BR>&#060;option value=DG <BR> &#060;% if dbvalue = "DG" then response.write " Selected" %&#062;&#062;Not Happy&#060;/option&#062;<BR>&#060;option value=Ak&#062;Dumb&#060;/option&#062;<BR>&#060;/select&#062;<BR><BR>but a better way would be to use some javascript in the body onload event.<BR><BR>hth getting you started.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts