Computing.Net > Forums > Programming > I need some major VB.Net help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

I need some major VB.Net help

Reply to Message Icon

Name: Yoshi
Date: October 2, 2002 at 10:26:12 Pacific
OS: XP Pro
CPU/Ram: 800,265
Comment:

I have this project to do in my VB.net class

The project is write a vb.net program that makes reservations for a hotel storing the reservations in a Orcale 8 database

Database schema
Table Guests(GuestID,Fname,Lname,Address,City,State,Zip,
Phone,CC)
Table
Reservations(ConfirmationNo,HotelID,GuestID,ArivalDate,
DeparteDate,CC)
There is a sequence for GuestID(GuestNo_sequence and ConfirmationNO_sequence)


My problem is HOW DO I have VB.Net connect to the oracle database, how do I add records to the database?

I have a VB form with text boxes for all the guest info and for the ArrivalDate and DepatureDate. I have a command button to save the info to the database(no code yet) a cancel button and a button to search to see if the guest is a repeat guest(no code yet)

Please help!! We have only 2 days to work on this(no .Net at home) and our teacher never clearly went over this stuff.

If anymore info is needed let me know.



Sponsored Link
Ads by Google

Response Number 1
Name: Jeff J
Date: October 2, 2002 at 15:45:32 Pacific
Reply:

You just need to focus your search appropriately. VB.Net, like VB before it, is just the language syntax you are using; you need to work with the particular library that supports databases. For the .Net languages, ADO.Net is the latest version of ADO for connectivity. Although M$ are just about to release a custom extension for Oracle (like they currently have for SQL Server), you can still use the generic OleDb provider.

The web is swarming with ADO.Net info on how to do exactly what you want, just search Google with a search set like [oracle "ado.net" oledb or "ole db" provider] (without the brackets). You will get more info than you will ever need.

Cheers


0

Response Number 2
Name: C.J.
Date: October 4, 2002 at 06:40:58 Pacific
Reply:

Go to :

http://www.gotdotnet.com

or

http://www.dotnetjunkies.com

There is plenty of info and tutorials there.

Good Luck !!!


0

Response Number 3
Name: kiran kumar
Date: October 8, 2002 at 03:15:58 Pacific
Reply:

Thanks folks,
Lots of good information.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


.NET help VB c++ vs c++?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: I need some major VB.Net help

can i use pointer in vb.net? www.computing.net/answers/programming/can-i-use-pointer-in-vbnet/14890.html

VB.net vs C#.net www.computing.net/answers/programming/vbnet-vs-cnet/3930.html

Help - loop thru textboxes - vb.net www.computing.net/answers/programming/help-loop-thru-textboxes-vbnet/17259.html