Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the syntax code for oldb to connect oracle?

Answer Posted / srinivas.kinthada

i think it's oledb may b.

in c#.net coding

1)
using oledd provider
1.system.data.oledb;
2.oledbconnection cn=new
oledbconnection("username=<username>;pwd=<password>;server=<servername>");
3.cn.open();

2)
using orcale provider
1.first u can give in u r application reference of
system.data.orcaleclient.dll file trough solutionexplorer of
u r application
(rt click the mouse--->over solutinexplorer--->and click add
reference--->click on project---> and select
system.data.orcaleclient.dll file--->ok )
2.using system.data.orcaleclient;
3.orcaleconnection cn=new
orcaleconnection("username=<username>;pwd=<password>;server=<servername>");
3.cn.open();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which property is used to check whether a DataReader is closed or opened?

1050


What are the major challenges in accessing data from a database?

1023


What is a sqldataadapter?

998


What is the role of data provider in ado.net?

1002


What is disconnected scenario in entity framework?

1117


Is bulk insert faster than insert?

923


What is difference in record set and dataset?

1077


What is the difference between data grid and data repeater?

1079


how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

4458


What is difference between ado and other data object?

913


What do you know about ado.net's methods?

1115


What is Dataset Object?

1010


How to add a javaScript function in a datagrid?

1135


What is the namespaces being used to access oracle database?

1083


describe the dataset object in ado.net.

959