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 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 15th, 2007, 03:45 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: Hardwar, Uttranchal, India.
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via ICQ to dpkbahuguna Send a message via MSN to dpkbahuguna Send a message via Yahoo to dpkbahuguna
Default C#.NET connect with Oracle

Hello Friends !!!


 PLS tell me how to connect oracle to the C#.NET.

 Waiting for any helpfull Reply!!!!!!!!!

DPK..
__________________
DPK..
Reply With Quote
  #2 (permalink)  
Old March 15th, 2007, 09:43 AM
Authorized User
 
Join Date: Feb 2007
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You will just need to import the oracle namespace in your C# code.

Then it's just normal connection methods!

Not on my development system at the moment so don't have the exact coding but somthing like:

Code:
using System.Data.OracleClient;
should get you your data control elements.

Check this site out for more info.

http://msdn2.microsoft.com/en-us/lib...cleclient.aspx
Reply With Quote
  #3 (permalink)  
Old March 16th, 2007, 09:08 AM
Friend of Wrox
 
Join Date: Sep 2004
Location: , , India.
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also you can download ODP.Net from oracle its gives u better support for Oracle Types

Reply With Quote
  #4 (permalink)  
Old March 12th, 2008, 04:08 PM
jminatel's Avatar
Wrox Staff
Points: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
Thanked 139 Times in 101 Posts
Default

You might also want to check the book Professional C# 2005 with .NET 3.0, Chapter 25 - Data Access with .NET discusses Oracle. Or Professional ASP.NET 2.0 Special Edition Chapter 11: Data Binding in ASP.NET 2.0. Both of them discuss using Oracle.

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com
Reply With Quote
Reply


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
How to connect ASP.NET with Oracle ? ashu_from_india ADO.NET 1 June 10th, 2008 02:32 PM
how to connect the oracle with c# .net bhasker_braj121 General .NET 1 June 19th, 2007 10:34 AM
Want to connect ASP.net to oracle without using AD sandeepk Oracle ASP 0 February 16th, 2006 08:27 AM
connect oracle with ASP santosh180 Classic ASP Basics 1 November 12th, 2004 08:33 PM
Using PHP to connect to Oracle cooldude87801 Oracle 2 June 4th, 2004 12:43 AM



All times are GMT -4. The time now is 01:25 AM.


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