Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Visual Basic program similar to the one described below Create arrays to store the data from the Restaurants.dat file. The fields are Name,

Create a Visual Basic program similar to the one described below

Create arrays to store the data from the Restaurants.dat file.

The fields are Name, Seating, Type, Rating

Use a loop to load the data into parallel arrays and display the contents in a RichTextBox.

Put the types in a ListBox. Populate the ListBox when the program loads.

Use the ListBox to search the type array. Display the records for all matches. Count and display the number of matches.

Use a TextBox and a Button to search the name array for matching names. Display the records for all matches. Count and display the number of matches.

Use a NumericUpDown to display the health inspection rating for all restaurants greater than or equal to that rating. Display the records for all matches. Count and display the number of matches.

Count the number of records. Display the number of records when the program loads and at the end of every search.

.dat file

Chew the Fat,204,Buffet,85 Clucker's,180,Buffet,93 River Bend,142,Buffet,92

Wally's,154,Casual,90 Grain Bin,116,Casual,98 Back 40,83,Casual,92

Yellow Dragon,122,Chinese,88 Panda House,58,Chinese,95 Beijing Wok,71,Chinese,95

Tate's,250,Family,88 Gary's,94,Family,86

Barbie Q's,45,Fast,92 Woofer's,49,Fast,93

Beach Combers,94,Intimate,88 Bow Ties and Tutus,92,Intimate,94 Table for Two,85,Intimate,87 Owt Pizza,76,Pizza,100 Italia's,78,Pizza,86

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 Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

What is management growth? What are its factors

Answered: 1 week ago