what is the syntax code for oldb to connect oracle
Answer Posted / sudha
first add the namespace
using system.Data.oledb;
OledbConnection cntn = new OledbConnection("Provider =
Microsoft.jet.oledb.12.0;datasource = (local);Integrated
security = SSPI,persistent Security = false");
provider = it depends on version of Microsoft Access like if
it is 2003 - 4.0 & if it is 2007 - 12.0
dataource - u can make it as local or provide the path to ur
database
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we connect two dataadapters to same data source using single connection at same time?
What is data access pattern?
Explain how to pass multiple tables in datasets simultaneously?
How do you merge 2 datasets into the third dataset in a simple manner?
How to check if the Dataset has records ?
What is difference between datatable and dataset?
How do you implement locking concept for dataset?
What are the ado.net objects?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
How can we load multiple tables in to dataset?
What are dcl commands?
What are the pre-requisites for connection pooling?
What are the benefits of ADO.NET?
What does executenonquery () method return?
What are all the commands used with Data Adapter?