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?
Is entity framework better than ado.net?
How do you find the count of records in a dataset?
What is difference between ado.net and asp net?
What is data adapter in ado.net with example?
How do you update a dataset in ado.net?
Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
What is the namespaces being used to access oracle database?
How is entity framework different from ado.net?
Is it possible to load multiple tables in a Dataset?
What is full form of ado?
Which is faster ado.net or linq?
What is dbcontext and dbset in entity framework?
What is disconnected scenario in entity framework?
Explain the advantages and disadvantages of using datalist?