Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Visual Basic Web Page. One more question help please. Create a simple webform to keep track of an electronic shop inventory. The webform will have

Visual Basic Web Page.

One more question help please.

image text in transcribedimage text in transcribed

Create a simple webform to keep track of an electronic shop inventory. The webform will have 3 sections. a. The first section will be used to register new items. It should look like this Item # Price er The user will enter data such as: Item #: 123. Description: iPad mini 4- WiFi 128 GB-Space Gray. Price: $299.99 When the register button is clicked, the program must check if an item with the same number already exists. If so, an error message will be displayed asking the user to change the item# If the item# was not taken, the program will proceed and register the item into the inventory table (Hint: I recommend using a 2D array for storing your data, assume you will have up to 10 items, the size of the array would be 9x2 [10 rows and 3 columns]) b. The second section of the form should look like this: Item # Please select an item Quantity Add The dropdown list will have all the registered items. The text field must show the description and the value field should be the item#. Hint: to add items into the Dropdown list, use the following code Dim newListltem As Listltem newlistitem = New Listitem("Text", "Value") DropList1.ltems.Add(newListltem) When the Add button is clicked, the quantity of the chosen item will increase by the amount entered in the textbox DIM newListltem AS LIstltem newlistitem = New ListItem("Text", "Value") DropList1.ltems.Add(newListltem) When the Add button is clicked, the quantity of the chosen item will increase by the amount entered in the textbox. c. The third section of the form will be used to display inventory, it should look like this: Show When the Show Inventory button is clicked, all of the stored information will be listed into the listbox. If you could not manage to align the text in vertical columns, you can list them horizontally. For example: Item# 123 Description: iPad Mini Price: $299.99 Quantity: 7 Item# 567 Description: iPhone 5 Price: 199.99 Quantity: 3 and so on. Create a simple webform to keep track of an electronic shop inventory. The webform will have 3 sections. a. The first section will be used to register new items. It should look like this Item # Price er The user will enter data such as: Item #: 123. Description: iPad mini 4- WiFi 128 GB-Space Gray. Price: $299.99 When the register button is clicked, the program must check if an item with the same number already exists. If so, an error message will be displayed asking the user to change the item# If the item# was not taken, the program will proceed and register the item into the inventory table (Hint: I recommend using a 2D array for storing your data, assume you will have up to 10 items, the size of the array would be 9x2 [10 rows and 3 columns]) b. The second section of the form should look like this: Item # Please select an item Quantity Add The dropdown list will have all the registered items. The text field must show the description and the value field should be the item#. Hint: to add items into the Dropdown list, use the following code Dim newListltem As Listltem newlistitem = New Listitem("Text", "Value") DropList1.ltems.Add(newListltem) When the Add button is clicked, the quantity of the chosen item will increase by the amount entered in the textbox DIM newListltem AS LIstltem newlistitem = New ListItem("Text", "Value") DropList1.ltems.Add(newListltem) When the Add button is clicked, the quantity of the chosen item will increase by the amount entered in the textbox. c. The third section of the form will be used to display inventory, it should look like this: Show When the Show Inventory button is clicked, all of the stored information will be listed into the listbox. If you could not manage to align the text in vertical columns, you can list them horizontally. For example: Item# 123 Description: iPad Mini Price: $299.99 Quantity: 7 Item# 567 Description: iPhone 5 Price: 199.99 Quantity: 3 and so on

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions