Reservation Project

I have this program about Airline Reservation that is due tonight.  I have worked on it about 40 hours already and am completely lost.  I can't get past this part:
There are three arrays
   1) two dimensional array of strings to maintain a seating chart with passengers names.
   2) two dimensional control array to show available seats on the form.
   3) An array for the waiting list.

There are 10 rows with 4 seats in a row.  I cant get the area to update the text boxes (by colors- green if available, red if not).  I am really stuck and need some SERIOUS help, ASAP....
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Can you show what your code looks like now?
As a possible startoff:

just iterate through your passenger list.

if you want to keep it very simple:
first iterate all your controls and color them red
then iterate all items in your seating chard
if you find a passenger on seat, update the control array on that same index

That pretty much covers your issue i guess

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hello slyfist,
          As your two dimensional arrays for names and availablility count will be same I dont think there will be much problem for you.

Herein you have to follow a good naming convention to do it simpler. I would recommend you to postfix it with numbers as ctrl0101,ctrl0102 etc for controls. and psg0101,psg0102 for passenger array. The first 2 numbers would be x and second two would be y in the two dimensional arrays.

       Now it will be very easy for you to loop through them.

while looping check the availability.I fpresent colour the control with that number to red. else green.  

Or there is one more way set the tag for the control as the name of the passenger. then loop it and colour it.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.