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 / raghavendra.v

it is not oldb it may be oledb

using System.Data.Oledb;

Oledbconnection cn=new OleDbConnection
("Provider=Msdaora.1;uid=<username>;pwd=<pwd>;server=<server
name>");
cn.open();

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between sqldatareader and sqldataadapter?

891


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

920


What is command class in ado.net?

932


What are two types of transaction supported by ado.net?

936


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

954


What is isolation?

963


What is ado.net explain with diagram?

914


What is microsoft ado.net?

1062


What is the difference between executequery and executenonquery?

866


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

991


What is aggregate root?

997


What do you mean by performing asynchronous operation using command object?

966


How to create dynamic gridview?

974


How can we serialize the dataset object?

949


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

965