Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. bound dropdownlist adding temp data

bound dropdownlist adding temp data

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasequestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    C Coudou
    wrote on last edited by
    #1

    is it possible to add a temporary data in bound dropdownlist? i have dropdownlist with data from database tblCode Code CodeName 1 AAAA 2 BBBB 3 CCCC 4 DDDD then sometimes user just put 0 in dropdownlist just like in combobox in access, behaving like textbox.

    C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

    V 1 Reply Last reply
    0
    • C C Coudou

      is it possible to add a temporary data in bound dropdownlist? i have dropdownlist with data from database tblCode Code CodeName 1 AAAA 2 BBBB 3 CCCC 4 DDDD then sometimes user just put 0 in dropdownlist just like in combobox in access, behaving like textbox.

      C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      your question is not clear for me, can you please give me more info

      Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

      C 1 Reply Last reply
      0
      • V Vimalsoft Pty Ltd

        your question is not clear for me, can you please give me more info

        Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

        C Offline
        C Offline
        C Coudou
        wrote on last edited by
        #3

        ok. apologize. here's the new question:: How can I make asp dropdownlist treat like combobox just the same in access? In access, combobox is behaving like textbox meaning you can input directly whatever you want.

        C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

        A 1 Reply Last reply
        0
        • C C Coudou

          ok. apologize. here's the new question:: How can I make asp dropdownlist treat like combobox just the same in access? In access, combobox is behaving like textbox meaning you can input directly whatever you want.

          C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

          A Offline
          A Offline
          Anurag Gandhi
          wrote on last edited by
          #4

          You can use Ajax control toolkit for the same. Please take a look over here: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ComboBox/ComboBox.aspx[^] Hope this will help you.

          Anurag Gandhi.
          http://www.gandhisoft.com
          Life is a computer program and every one is the programmer of his own life.
          My latest article: Group GridView Data

          C 1 Reply Last reply
          0
          • A Anurag Gandhi

            You can use Ajax control toolkit for the same. Please take a look over here: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ComboBox/ComboBox.aspx[^] Hope this will help you.

            Anurag Gandhi.
            http://www.gandhisoft.com
            Life is a computer program and every one is the programmer of his own life.
            My latest article: Group GridView Data

            C Offline
            C Offline
            C Coudou
            wrote on last edited by
            #5

            thanks. but i currently used this. what i need is i want to input any data on the dropdownlist which is not found in the database. in your link given. yes, i can type the letter,its good but what if i will type numbers on dropdown or words that cannot be found on the dropdown.

            C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

            A 1 Reply Last reply
            0
            • C C Coudou

              thanks. but i currently used this. what i need is i want to input any data on the dropdownlist which is not found in the database. in your link given. yes, i can type the letter,its good but what if i will type numbers on dropdown or words that cannot be found on the dropdown.

              C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

              A Offline
              A Offline
              Anurag Gandhi
              wrote on last edited by
              #6

              You should use AutoComplete extender control for this purpose. Use this extender for a TextBox instead of a DropDownList. Populate the autocomplete data from the database. Please have a look at the demo here[^].

              Anurag Gandhi.
              http://www.gandhisoft.com
              Life is a computer program and every one is the programmer of his own life.
              My latest article: Group GridView Data

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups