what is the syntax code to oledb to connect oracle

Answer Posted / kakani kumar

Using System.Data.Oledb;

OledbConnection cnn = new Oledbconnection("Prvider=MsDaOra,
User ID=scott, Password=Tiger, Datasource=m10 );
Datasource is optinal

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the steps to connect to a database?

497


Which method is used by command class to execute SQL statements that return single value?

560


What are all the different authentication techniques used to connect to MS SQL Server?

546


What is the difference between typed and untyped dataset?

510


Why ca not we use multiple inheritance and garbage collector paralelly in .net?

557






What are the 3 major types of connection objects in ado.net?

545


How do you update database through dataset?

542


What are the advantages using ado.net?

538


What is executequery?

497


Which name space is used to get assembly details?

526


Explain how to call the sql commands asynchronously in ado.net version 2.0?

514


What is difference between executenonquery and executequery?

473


Which architecture does Datasets follow?

586


What is the difference between a datareader and a dataset?

519


What Is Difference Between Ado And Ado.net?

564