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 is serialization and de-serialization in .net?

500


What does executequery return?

521


Explain the difference in record set and dataset?

493


What are the ado.net objects?

512


What is data access pattern?

493






What are the data access namespaces in .NET?

635


What is an ado connection?

529


What is oledb connection?

510


Compare Data Reader & Dataset in ado.net?

550


can we create synonymn in ms access,sql server,my sql if so explain me with example

1585


What is different between sqlcommand object and command behavior object?

544


What are the steps to connect to a database?

548


Do we use stored procedure in ADO.Net?

574


What is difference between connected and disconnected architecture in ado.net?

589


What you mean by filtering of data?

542