473,324 Members | 2,214 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,324 software developers and data experts.

updating a dropdownbox and gridcontrols using a submit button

Hello,

I have been trying for a while but have been unable to do this:

I have two drop down lists and a submit button. After choosing
appropriate values in the dropdowwnlists, I hit the submit button. This
connects to the backend and updates a field in a table.

Ideally, the select operation used to select the members of the
dropdown list should be run on the table again as the insert operation
changes things - I want the dropdownlist to be refreshed by rerunnign
the associated query.

I have a gridview that displays data from the table the dropdownview is
updating. But that gridview;s data is also not being refreshed to
reflect the change made to the table. I am a novice asp .net
programmer. Plz help,

Thanks, Sincerely, Derek

Nov 20 '05 #1
1 980
The code you run to populate the DropDownList should simply be reexecuted
in your button click event handler.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello,

I have been trying for a while but have been unable to do this:

I have two drop down lists and a submit button. After choosing
appropriate values in the dropdowwnlists, I hit the submit button.
This connects to the backend and updates a field in a table.

Ideally, the select operation used to select the members of the
dropdown list should be run on the table again as the insert operation
changes things - I want the dropdownlist to be refreshed by rerunnign
the associated query.

I have a gridview that displays data from the table the dropdownview
is updating. But that gridview;s data is also not being refreshed to
reflect the change made to the table. I am a novice asp .net
programmer. Plz help,

Thanks, Sincerely, Derek

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: | last post by:
Hello, Sorry to ask what is probably a simple answer, but I am having problems updating a table/database from a PHP/ PHTML file. I can Read From the Table, I can Insert into Table/Database, But...
6
by: thomas j | last post by:
Hi, I have a MySqlBase with a tabel named CARS and with 3 fields; CarsType, CarsModel, CarsInfo. Now I want to generate 2 dropdownboxes in PHP read from CARS. First I will "load" CarsType into...
0
by: Sunil Sabir | last post by:
Dear All, I have a web form which has a link and a drop down box. when I press a link a pop up window opens. This window has a lot of TEXTBOXES and a Save button. When I fill the TextBoxes and...
3
by: Spoogledrummer | last post by:
Hi it's me again, still working on the sam 5 minute problem so feeling kind of thick now. I've dumped the idea of using a textarea for now and am using a textbox instead but am struggling when it...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
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...
1
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.