Help! ASP: Filtering a list (query)

Discussion in 'C#' started by deterius, Mar 19, 2008.

  1. #1
    Hi, I usually don't have to deal with this, but I was asked to do a simple update and I think I screwed something up!

    We have a list, drawn from an Access databasee and that list is organized by semester- I was asked if I can just change the semester- from 2007 to 2008. I figured that looked easy and just changed the following code.
    Code:
    
    select name="session"> <option value="Spring 2008"<%=((querySession == "Spring 2008")?"selected":"")%>>Spring 2008</option><option value="Summer 2008" <%=((querySession == "Summer 2008")?"selected":"")%>>Summer 2008</option> </select>
    Code (markup):

    Complete .asp file in txt format:
    http://gearup.hawaii.edu/registrations/runningstart/reg_list.txt

    1. user selects a sesssion (Spring/or Summer)
    2. User submits the form
    3. the list returns with only students registered for (spring/ summer)
    4. sip some coffee and enjoy!


    So basically, once the user selects the session (let say 'spring' for example) then, it displays a list of students where in database session == spring.

    But now the list dosent change at all! help!
    Here is the complete file:
     
    deterius, Mar 19, 2008 IP
  2. TasteOfPower

    TasteOfPower Peon

    Messages:
    572
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    that its 2008, right?

    and we are already on version 3.5 of asp.net?
     
    TasteOfPower, Mar 20, 2008 IP
  3. deterius

    deterius Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Not really
    I usually do client-side programming- im far from the best at ASP.

    What should I do?
     
    deterius, Mar 24, 2008 IP