what is the syntax code for oldb to connect oracle

Answer Posted / raghavendra.v

it is not oldb it may be oledb

using System.Data.Oledb;

Oledbconnection cn=new OleDbConnection
("Provider=Msdaora.1;uid=<username>;pwd=<pwd>;server=<server
name>");
cn.open();

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does ado stand for in ado.net?

438


Explain what are acid properties?

522


What is sql command in ado net?

480


Command objects uses, purposes and their methods.

501


How to pass values into a datatable?

569






What is data control techniques?

481


What is oledb driver?

479


What is sql connection in ado.net?

480


What is the difference between typed and untyped dataset?

492


What is data reader in ado.net?

478


What are the parameters that control most of connection pooling behaviors?

492


What is an example of ordinal data?

470


Which control of the BindingNavigator returns the current position within the data source?

709


Can you explain how to enable and disable connection pooling?

487


What are the classes in System.Data.Common Namespace?

681