1
Reply

getting data from a database based on a selected radio button

Zimbini Walaza

Zimbini Walaza

Sep 28 2009 2:30 PM
4.1k

I am trying to get the seleted radioButton from a group of radio buttons.
The program is supposed to check on the database for controls that match the selected radiobuttons. The radiobuttons are named High,Medium,Low.
For example

If a person selects High, the program must go through the database and choose all the controls that are rated High and then must load them into a listBox.

My problem is that the code i am using does not see the selected items and does not load the listBox.
I am usig SQL server database and stored procedures to do this.

Any suggestions on how i can go about doing this will be appreciated.

Answers (1)