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 you explain how to enable and disable connection pooling?
Explain the namespaces in which .net has the data functionality class.
How to check if the Dataset has records ?
How to enable and disable connection pooling?
What is execute scalar in ado.net?
How do I delete a row from a DataTable?
What is ole db and odbc?
What is untyped dataset?
Which method is used to sort the data in ADO.Net?
What is difference between entity framework and ado.net?
What are the Features of a dataset
Compare Data Reader & Dataset in ado.net?
What is dataset and datatable in ado.net?
What are the parameters that control most of connection pooling behaviors?
What is data relation in ado.net?