Results 1 to 2 of 2

Thread: selection dropdownlist

  1. #1
    Join Date
    May 2013

    selection dropdownlist

    First of all I would be so happy if someone could help me ...

    I have in my aspx.net file a dropdownlist with a button, when there's a name selected I need to see the
    corresponding data that is with that name (adress, cell, ...) from a database that I've made.

    <select name="DropDownList" id="DropDownList">

    <option value="name>name</option>
    <option value="name1">name1</option>
    <option value="name2">name2</option>


    <input type="submit" name="Buttonshow" value="Toon informatie" onclick="???" id="Submit1" DataSourceID="SqlDataSource1" />

    I already have this, I just don't know how I could retrieve the data from the selected name from my database.. What should the "on click" do and is there any code i should have extra or so ...?

    already thanks in advance

  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    i dont know nothing about asp but here you can see one of thousands examples posted on this forum on how to retrieve some data from DB operating with php+javascript
    signature under construction

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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