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
What is sqldatasource?
What are the 3 major types of connection objects in ado.net?
Explian About DataAdapters
What is ado.net full form?
What is data relation in ado.net?
Which parameter of ConnectionString is used to specify the name of the database?
How to identify the controls which can be used for binding data?
What is the use of sqldatareader class?
What are all the classes that are available in System.Data Namespace?
Define Execute Reader?
What is serialization and de-serialization in .net? How can we serialize the dataset object?
Which object holds only data and does not interact with data source?
What is an ADO.Net?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?