conencting to SQL database via VB.net

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 11
Reputation: chrisdent1986 is an unknown quantity at this point 
Solved Threads: 0
chrisdent1986 chrisdent1986 is offline Offline
Newbie Poster

conencting to SQL database via VB.net

 
0
  #1
Mar 11th, 2008
Hi I'm a final year university student and i'm running into a bit of trouble with my final year project (It's very important)

My task is to create a DBA (Database Administration) tool in visual basic to allow me to add/edit/delete users from an existing oracle(sql) database.

I really don't know where to start so I was wondering if anyone could give me a link or a reference of code as to how to connect to the database. My sql itself is pretty good so the commands themselves shouldn't be too difficult but it's the actual conncetion that is the problem as I have no idea where to begin.

Oh and could you please offer clear instructions as I don't want to simply cut and paste code into my work I'd rather have an understanding of how I've done what I've done.

Thanks in advance for any help.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: conencting to SQL database via VB.net

 
0
  #2
Mar 11th, 2008
To manage management tasks you can use SMO namespace
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: conencting to SQL database via VB.net

 
0
  #3
Mar 11th, 2008
That's just for SQL Server not Oracle you can go to Oracle forum http://www.daniweb.com/forums/forum129.html to ask there
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: conencting to SQL database via VB.net

 
0
  #4
Mar 11th, 2008
hmm...you want to connect with sqlserver or oracle???
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 11
Reputation: chrisdent1986 is an unknown quantity at this point 
Solved Threads: 0
chrisdent1986 chrisdent1986 is offline Offline
Newbie Poster

Re: conencting to SQL database via VB.net

 
0
  #5
May 14th, 2008
sorry i wish to connect to an oracle database as I am actually modifying oracle users not the actual databases involved within it.

I am using the .net framework for oracle to access it and have the connectiong strings etc etc

but for some reason I can't declare the connection and things like I would with OLE DB. can anyone help?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 144
Reputation: sierrainfo is an unknown quantity at this point 
Solved Threads: 9
sierrainfo sierrainfo is offline Offline
Junior Poster

Re: conencting to SQL database via VB.net

 
0
  #6
May 15th, 2008
I hope this helps:

The Microsoft provider ships with the .NET Framework 1.1. All types are contained in the System.Data.OracleClient namespace. The Microsoft provider requires Oracle client version 8.1.7 or above.

ODP.NET is freely available from the Oracle Technology Network (OTN) at http://www.oracle.com/technology/sof...net/index.html. The types are contained in two namespaces—Oracle.DataAccess.Client (data access classes and enumerations) and Oracle.DataAccess.Types (classes and structures for Oracle data types). Both namespaces are in the assembly Oracle.DataAccess.dll located in the oracle\ora92\bin directory. ODP.NET requires Oracle client version 9.2 or later.

Regards
Sunil Punjabi
<snipped URL>
Last edited by Ancient Dragon; May 18th, 2008 at 6:54 am. Reason: snipped url
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC