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 are the important features of ado.net 2.0?

594


What is the difference between ado.net and oledb?

484


Which parameter of ConnectionString is used to specify the name of the database?

553


What you mean by filtering of data?

542


Which is the feature of ado.net?

530






What are the methods of XML dataset object?

615


What is the current version of entity framework?

489


Is entity framework better than ado.net?

491


Which object of ado contains datarow datacolumn collection?

518


Define bubbled event?

515


Explain sqlconnection object?

536


What is ado.net in vb net?

508


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

521


Which is faster datareader or dataadapter?

534


What is meant by executenonquery?

529