473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

34
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
Jan 23 '07 #1
3 1481
kenobewan
4,871 Expert 4TB
Here is an article that may help, it has a simple example:Developing a Templated Databound Control
Jan 24 '07 #2
koonda
34
Thanks kenobewan,

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

Thanks anyways,

Koonda
Jan 24 '07 #3
kenobewan
4,871 Expert 4TB
I suggest posting the relevant code/ error and lets take a look...
Jan 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: John R. | last post by:
I want to have a listbox that shows a checkbox and a textbox. I created a user control that has a checkbox and a textbox in it and have been trying to add it to a listbox but I can't get it to...
1
by: george d lake | last post by:
Hi, I have a textbox and a listbox in a User Control When I click on a line in the listbox I populate the text box. This works perfect. No, on the page that has the UC in it, I also have a submit...
4
by: John Holmes | last post by:
I'm using data to rename some web controls on a form that uses a repeater contol and so it can have mulitple instances of the same control set. The controls get renamed (thanks to Steven Cheng's...
3
by: Sosh | last post by:
Hi, I'm sure there must be any easy way of doing this, but I just can't see it: I have a repeater bound to a dataset. In each item of the repeater I have a listbox with a few options. I...
10
by: Perry van Kuppeveld | last post by:
Hi, I have a problem with formatting a table including text fields wich can contain up to 255 chars. I need a table with 3 columns: - First column 50 % over the with a rowspan of the total...
14
by: Joe | last post by:
Hello All: I am trying to dynamically populate a web page with literal content and controls (textboxes and checkboxes (and eventually two buttons - the buttons do not appear in the code yet). I...
9
by: mosscliffe | last post by:
I am sorry but I am all very new and slow at understanding all this ASP.NET2. I found some code which showed how to page with a repeater. All very excited as I had been looking for this all...
2
by: koonda | last post by:
Hi all, Currently I am doing a project in ASP.NET using C#. I posted this message before but that was a different approach. Now I want to implement it this way. I have a Database in SQL Server...
0
by: =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= | last post by:
I'm having trouble working with a Summary Validation control. I need to click my submit button twice for the Summary to display when validation errors occur on the page. Background: My page...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.