Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 30th, 2009, 08:19 AM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default Please I need urgent help here-Room Booking System

I am trying to create a room reservation system, however I am having some strains.
here is what I am trying to do:
a customer should be able to view available dates for a particular room.I mean dates on which this room is free, so that he does not book a room that has already been taken on the time period he specifies he will be staying in the hotel.
please can anyone give me some help on this?
  #2 (permalink)  
Old December 2nd, 2009, 05:10 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

That is a very broad question. You will have to create a database that holds rooms and dates available. then display this to the user some way, via a grid, repeater etc. You need to get some ideas together and ask more specific questions
  #3 (permalink)  
Old December 4th, 2009, 07:34 AM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default Thanks, this is what am trying out

Am a new asp c# programmer, I am developing an online booking system, I am trying to create a time sheet control such as would map the rooms to their available dates...I ddint have a hint of how this is done in c#, so what I did is my app just checks the booked rooms and displays the rooms that havent been booked on the customers specified arrival and departure dates. However I prefer the time sheet effect, any help in c#
  #4 (permalink)  
Old December 4th, 2009, 09:05 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

There are two main types of display available for data. There are a number of out-of-the-box data controls like GridViews, DetailsViews, ListViews, Repeaters, etc. I'm not quite sure what you mean by "timesheet" but GridViews are very effective at building HTML tables and providing the ability to display and edit data from a database.

If none of those solutions give you what you want, you can also create completely custom solutions, but you'll need two things. One, you'll need to create a static (ie pure HTML) version of the webpage as you want it to display. C# is a programming language that let's you automate simple and sophisticated tasks, but it will only help you to generate the HTML. If you don't know what HTML you want to output, C# and any other language are no help. Two, you'll need to be a decent programmer, how long have you been programming? Are you familiar with how to design classes or write to interfaces?
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
  #5 (permalink)  
Old December 6th, 2009, 01:57 PM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Some one refered to it as timesheet control but I guess it was a custom control. it takes the form of a grid, each block representing a calender date, the blocks-dates, on which the desired room is available appear white, while the blocks representing the unavailable dates for the desired room appear black .
Well I took c and java as my first programming languages at school-2007, I started php after that on my own-2008, ddnt like it cuz its limited to just web programming n ddnt appreciated the sytax, so I tried vb,...Found c# earlier this year n I know I had arrived home.However been writing console apps just to get familiar with the raw programming.n been browsing steve walthers asp.net 3.5 unleahed...apart from that, the application am working on write now -booking system is my first full commercial application.Yes am familiar with object oriented programming except for deeper concepts like real reasons of how an interface can help me accomplish what just what U said...but thanks for the help n strong words...Am only a starter n am enjoying the challenges already...will appreciate any help too....
  #6 (permalink)  
Old December 6th, 2009, 03:27 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

You're not in bad shape. You have some good programming experience under your belt, have worked in multiple languages. Yes you're a beginner, but you might be able to pull this off.

I have generally steered clear of calendar style controls and this sounds like a lot of the functionality would be similar. I would suggest that you may be able to get something like this to work if you use link fields in a GridView. Each link would take you to a confirmation page where you'd have a simple detailsView that actually makes the reservation and interacts with your database. That way the difficult part of this project (creating the UI) would have relatively simple database work (display only) and the other dynamic page would take the parameters from the query string and do all the heavy DAL lifting.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
  #7 (permalink)  
Old December 7th, 2009, 07:43 AM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default thanks

Thanks for the great idea, ill begin trying that now...
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please I need urgent help here-Room Booking System ysfkay ASP.NET 3.5 Basics 2 December 8th, 2009 07:20 AM
Please I need urgent help here-Room Booking System ysfkay ASP.NET 3.5 Professionals 0 November 30th, 2009 07:28 AM
Appointment Booking System supermaitai BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 19 October 7th, 2009 01:45 PM
booking system newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 July 19th, 2007 04:17 PM
SQL Double Booking System URGENT help needed! chris_smith_51 SQL Language 0 December 11th, 2004 04:27 PM



All times are GMT -4. The time now is 08:51 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.