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 difference between Dataview and Datatable?
What is ado or jdbc?
What are three methods for displaying data in a syncfusion datagrid
What is ado.net and its architecture?
What is the hierarchy of data in databases?
How can we load multiple tables in to dataset?
What are all the different methods under sqlcommand?
Which is the feature of ado.net?
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What is dataadapter in ado.net?
What is meant by executenonquery?
Define table relations?
Explain advantages of ado.net?
What is the difference between sqldatareader and sqldataadapter?
Which name space is used to get assembly details?