Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I am a computer science student that is starting to learn to programme for web applications inside of visual studio with C# language. My

Hello, I am a computer science student that is starting to learn to programme for web applications inside of visual studio with C# language. My main question is how do I use the directory that is stated inside of the tasks below? Any help would be fantastic! Thank you

1. Create a class called Account containing an Account ID, Name and Balance properties.

1a. Account ID should be an integer

1b. Name should be defined as string

1c. Balance should be defined as double

2. Use a dictionary to store all the accounts. Account ID should be used as the key for the dictionary. Create a new instance of an Account class and store it as the value in the dictionary.

3. Display all the accounts inside a list box. Override the ToString method of the Account class to use it to display the account information in the list box.

4. Use Session state to store your dictionary

5. Allow user to enter information and add a new account to the list. When user tries to add an account that

already exists, display an error message.

6. Allow the user to replace the account information. If the account ID does not exist in the dictionary display

an error message to the user, otherwise replace the account with the new information in the dictionary.

image text in transcribed

Accounts Dictionary Account ID: 111 Account Name: Mike Tiger Balance: 10000000 Accounts: 1050, Jones, 800.50 1001, Adams, 750.18 1020, Gonzalez, 1,800.21 1032, Chong, 1,200.50 Add Replace

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions

Question

Types of Interpersonal Relationships?

Answered: 1 week ago

Question

Self-Disclosure and Interpersonal Relationships?

Answered: 1 week ago