what is the syntax code to oledb to connect oracle

Answer Posted / srinivas

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

here u declare <user_name> is u give username
pwd is u give password
<server> or data source is u give

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different row versions available in table?

520


What is ole db query?

514


Why is ADO.NET serialization slower than ADO ?

559


What is ado net stands for?

507


What are the key events of sqlconnection class?

602






What is shadow copy?

568


Do you use stored procedure in ado.net?

540


List the 4 common ado.net namespaces?

694


Compare Data Reader & Dataset in ado.net?

536


Describe connection object in ado.net

534


How do you merge 2 datasets into the third dataset in a simple manner?

529


What is the difference between connected and disconnected environment?

486


how Sequence to connect and retrieve data from database using dataset?

744


What are all components of ADO.Net data provider?

597


Define connection string?

574