Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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..
 
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
 
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

 
Old March 12th, 2008, 04:08 PM
jminatel's Avatar
Wrox Staff
Points: 17,906, Level: 58
Points: 17,906, Level: 58 Points: 17,906, Level: 58 Points: 17,906, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,906
Thanks: 62
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




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





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