what is the syntax code for oldb to connect oracle

Answer Posted / srinivas.kinthada

i think oldb is not correct it's may b.
it is oledb

using system.data.oledb;
oledbconnection cn=new
oledbconnection("uid=<username>;pwd=<password>;server=<servername>");
cn.open();

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is DataReader Object?

665


What is datasource in ado.net?

684


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

638


Give few examples of datareader that is used in different dataproviders.

623


What is serialization and de-serialization in .net? How can we serialize the dataset object?

591






What is fill method in ado.net?

621


What is partial class?

621


What is read only and forward only in ado.net?

594


What do you know about ADO.NET's objects and methods?

614


What are all components of ADO.Net data provider?

691


What are the objects of ado.net?

631


What is the difference between Dataset. clone and Dataset.copy?

640


Explain the different row versions available in table?

631


How do you implement locking concept for dataset?

630


Define Execute Reader?

693