Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i am trying to develop an online booking system. what i need is to alert the passengers when the bus is full. one bus can only take up to 60 passengers. please help
Posted
Comments
[no name] 19-Aug-12 8:55am    
if bus.Count > 60 then Alert(). *whew* have to take a nap now.
Member 9254084 19-Aug-12 8:58am    
please i beg, on my knees ryt now, i need ur help...
[no name] 19-Aug-12 9:06am    
Help with what? All you have done is given us some vague description of what you are trying to do. We do not know what a "booking system array" is. You cannot possibly be so dense as to think that we know anything about your project, see the code that you are having trouble with, read your mind, or anything else for that matter. The best thing you could do is go to your teacher for help as they would be in the best position to help you. Failing that, you really should read http://www.codeproject.com/Articles/64628/Code-Project-Quick-Answers-FAQ. And if you still cannot get it, honestly, you should really think about going into some other career field.
Member 9254084 19-Aug-12 9:52am    
hey bro, chill... wats the fight for... was just asking for help... damn..

This has to be homework. So, try to do it yourself. When you have 60 bookings, the bus is full. Given you don't tell us where you store passengers, etc, I feel like you haven't even started this. Talk to your teacher, they need to know that you're so lost, you can't even try.
 
Share this answer
 
Comments
Member 9254084 19-Aug-12 8:33am    
i tried, been trying to google this since last year, i do not want to give up on VB... i had to extend my submission date (final year project), please, i need your help...
Christian Graus 19-Aug-12 13:04pm    
Seriously, you EXTENDED your project, but you didn't have ANY code to show us, or a more specific question to ask ? If you asked more specific questions and posted code that showed you had tried, we'd be more responsive. Nothing you've posted indicates that, if we gave you a more detailed answer, you would understand it, or do anything with it.
Member 9254084 19-Aug-12 15:19pm    
am new in here... and am sorry for being new in here coz yall donno how to talk to newbies... damn, was just ASKING for help, u cud have asked me to post wat ive done so far but u just choose to be all wateva u chose to be...
Christian Graus 19-Aug-12 15:21pm    
The honest truth is that we're flooded all the time with people asking us to do their homework and mostly it's people who have done nothing. The logic of asking the question you asked, if you have code you could have posted, and more specific questions you could ask, eludes me, but that's fine. If you want to do that, post some code and some specific questions, we'll all be happy to help. We're just wary of people who seem to try to use this site to cheat on their homework and do nothing at all.
Why not you trying to give some effort and come back with specific question
whatever if you are planning to give alert then its ok we have no problem just go and code with checking number of Passenger before Inserting new One.
You can count Number of Filled rows and can Compare to your Limited Seat which is 60.
I am sure your code will able to say "Oops All Seat are Filled Choose Other Days for Travel"
Navigate MSDN-[Accessing Data with ASP.NET][^]

Feel free to come back with Specific question and your Effort.
 
Share this answer
 
Comments
Member 9254084 19-Aug-12 8:33am    
i tried, been trying to google this since last year, i do not want to give up on VB... i had to extend my submission date (final year project), please, i need your help...
>> been trying to google this since last year
Really?
DX Airways Source Code[^]

This will tell you how to solve your problem, but you will need to work your way through it.


Best regards
Espen Harlinn
 
Share this answer
 
Comments
Member 9254084 19-Aug-12 9:54am    
Thanks Espen. let me take a look.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900