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

Define isolation?

526


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

521


What is the executescalar method?

576


What is different between sqlcommand object and command behavior object?

532


Define the executescalar method?

510






Explain why canot we use multiple inheritance and garbage collector paralelly in .net?

583


What is ado in agriculture?

507


What is row state?

518


What is the meaning of executenonquery?

534


Explain how to pass multiple tables in datasets simultaneously?

490


What is ado.net explain with diagram?

505


What is the role of the dataset object in ado.net?

564


What are the data providers in ADO.NET framework?

583


Describe connection object in ado.net

534


What is a dynaset in access?

518