Implementing a Submit Button for 5 Listbox Controls and a Textbox For a Repeater

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koonda
    New Member
    • Oct 2006
    • 34

    Implementing a Submit Button for 5 Listbox Controls and a Textbox For a Repeater

    Hi Guys,

    I have 5 listbox controls which I populated from the database tables. I tried it using the wizard. For all 5 listboxes and a single Repeater I used a SQL DataSourse Object and mapped this sqldatasource to the repeater and then all the listboxes to the sql datasource and it worked. Now what I want to implement is to select values from all 5 listboxes and a textbox and to display in the repeater. The all 5 listbox values can be displayed in the repeater but I don't know how can I implement the textbox. For textbox I can enter values such as year i.e 2006 etc?. I also have a submit Button. I have set the Autopostback for all listboxes to false now because I want to select values from the listboxes and a textbox and want to display the information from the underlying database on the Repeater by clicking the Submit. Could you please help me to implement the Submit button for 5 listbox controls and a textbox? Any code examples.



    I really appreciate your help.

    Thanks



    Koonda
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is an article that may help, it has a simple example:Developing a Templated Databound Control

    Comment

    • koonda
      New Member
      • Oct 2006
      • 34

      #3
      Thanks kenobewan,

      It was helpful but I still can not make the program working.

      Thanks anyways,

      Koonda

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        I suggest posting the relevant code/ error and lets take a look...

        Comment

        Working...