Categories

CODE
Visual C++ Programming
C++ (Non Visual C++ Issues)
Modern Windows Apps (Metro)
C++ and WinAPI
Managed C++ and C++/CLI
Visual C++ Bugs & Fixes
Graphics Programming
Multithreading
Network Programming
Driver Development
Visual Basic 6.0 Programming
Visual Basic .NET
Crystal Reports
C-Sharp Programming
Managed C++
Visual Basic .NET
ASP.NET
.NET Framework
ADO.NET
Windows Presentation Foundation (WPF) & XAML forum
Silverlight
.NET Installation and Configuration Issues
Java Programming
AJAX
Scripting - Client Side
Database
XML
Wireless/Mobile Development
Assembly
Scripting - Server Side (PHP, Perl, etc.)
Python
General Developer Topics
Project Planning, Design, and Management
Testers and Testing
Algorithms & Data Structures
General Discussion / Chit Chat
Announcements, Press Releases, & News
Feedback
Articles Suggestions
Testing Area
Programming Projects
C# Game(s) Project
Game Engine Project
C++ Coding Project
Project: Code War
Slow Chat: Talk with Microsoft Developer Teams
Slow Chat: Developing Multithreaded Applications
Slow Chat: C++0x
Slow Chat: Visual C++: Yesterday, Today, and Tomorrow
Directory Services
General Windows and DNA Programming
Windows OS Issues
Open Positions (Jobs)
Looking for Work
Visual Basic .NET FAQs
Visual Basic FAQs
CodeGuru Individual FAQs
CodeGuru Individual Visual Basic FAQs

Resources

Java Database
Linux
Coding
Mobile
Hardware
Software Development
Software Development
iOS,OS X
iOS,OS X
ORACLE
IBM DEVELOPER
IBM DEVELOPER
MSDN
MSDN


Tags

ASP.NET

Post questions and get answers on ASP.NET. Obviously there will be some overlap between this board and the C# and Visual Basic .NET boards so please try and only post ASP.NET specific questions here.

oracle connection


Hi,  Can anyone tell me how can I connect orace database through ASP.NET and C#. I mean I am using c# code in asp.net and want to connect to oracle.    Please help what libraries should I use and how?  Fawaz  				  			

  				  					<%@ Page Language="C#" %>  <%@ Import Namespace="System.Data" %>  <%@ Import Namespace="System.OleDb" %>    <script runat="server">    OleDbConnection cn=new OleDbConnection("  PROVIDER=MSDAORA.1;user id=scott;password=tiger;  data source=oracle");  cn.Open();  OleDbDataReader dr=new OleDbDataReader("  select * from emp", cn);    </script>    ********  In connection string     User ID : Ur oracle data base user id.  Password : Ur oracle data base Password.  data source : this should be set in server system's oranames.ini file.  				  			

  				  					  	Code:  	  <%@ Page Language="C#" %>  <%@ Import NameSpace="System.Data" %>  <%@ Import NameSpace="System.OleDb" %>    <script runat="server">    OleDbConnection cn=new OleDbConnection("PROVIDER=  MSDAORA.1;user id=scott;password=tiger;data source=  oracle");  cn.Open();    OleDbDataReader dr=new OleDbDataReader("  select * from emp", cn);    </script>       In connection string     User ID : Ur oracle data base user id.   Password : Ur oracle data base Password.   data source : this should be set in server system's oranames.ini file.  				  			

  				  					  	Code:  	<%@ Page Language="C#" %>  <%@ Import NameSpace="System.Data" %>  <%@ Import NameSpace="System.OleDb" %>    <script runat="server">    OleDbConnection cn=new OleDbConnection("PROVIDER=  MSDAORA.1;user id=scott;password=tiger;data source=  oracle");  cn.Open();    OleDbDataReader dr=new OleDbDataReader("  select * from emp", cn);    </script>       In connection string     User ID : Ur oracle data base user id.   Password : Ur oracle data base Password.   data source : this should be set in server system's oranames.ini file.  				  			

  				  					  	Code:  	<%@ Page Language="C#" %>  <%@ Import NameSpace="System.Data" %>  <%@ Import NameSpace="System.OleDb" %>  <script runat="server">  OleDbConnection cn=new OleDbConnection("PROVIDER=  MSDAORA.1;user id=scott;password=tiger;data source=  oracle");  cn.Open();  OleDbDataReader dr=new OleDbDataReader("  select * from emp", cn);  </script>   In connection string     User ID : Ur oracle data base user id.   Password : Ur oracle data base Password.   data source : this should be set in server system's oranames.ini file.  				  			

  				  					namespace:  System  System.Data  System.OleDb    OleDbConnection cn=new OleDbConnection("  PROVIDER=MSDAORA.1;user id=scott;password=  tiger;data source=oracle");  				  			

  				  					hi,    if you want to use a more direct way to access oracle, have a look at  http://www.crlab.com/products.html    they provide access via the oci...


Related Links

Syntax error in INSERT INTO statement.
Datagrid Functionalities:
cannot run any asp.net project , problem with config
Unable to browse asp.net webpage in IIS
Adding Control at runtime
ASP.NET and use of &quot;Profile.&quot;
A Newbie on ASP... Dynamic Menu Problem.
Drawing Circle
More partial classes per one aspx page in ASP.NET 2.0?
Control the file extension in file control
Post Back Problem
Validation between controls
Web Service: Transaction and Exception
WSE Kit 2.0??
How do I embed images in an email?
Datagrid-Single row highlighting