Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I created a empty Web application called Grocery Store and added a new web page

ID: 3639592 • Letter: I

Question

I created a empty Web application called Grocery Store and added a new web page named Default.aspx to the application. I have changed the DOCUMENT object’s Title property to Grocery Store. I need help coding the enter button. The DropDownList control needs to contain the store numbers listed. Also,I need for when the user clicks the Enter Button, the button’s Click Event procedure should display the names of the manager and Assistant manager.

Store number:    Manager:                    Assistant Manager:
0001                    Jon John Pam Hicks
0002                     Bonnie Mills                                  Sam Lin
0003    Ike Bail                                           Hector Games
0004                  Lou Chun                                          Jake James
0005                   Homer Alls Ike Nails


Can download project www.sharebees.com at:
http://www.sharebees.com/wly6th6hxwgh.html





Explanation / Answer

Hi, I think you have to maintain an if-else structure in which you have to say, if dropdownlist1.listitem = 0001 then manager.text = "Jon John" Assistant_Manager.text = "Pam Hicks" else if dropdownlist1.listitem = 0002 then manager.text = "Bonnie Mills" Assistant_Manager.text = "Sam Lin" end if Add the other code extending the if else Regards, Swapnil

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote