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 connection in ado.net?
Define atomicity?
Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?
What is sqlconnection and sqlcommand?
What does adodb stand for?
Is it possible to edit data in Repeater control?
What is ado control?
Explain the difference between ado and ado.net?
Can we connect two dataadapters to same data source using single connection at same time?
What is ole in excel?
Which object of ado contains datarow datacolumn collection?
What is the difference in record set and dataset?
What is the use of Dataview?
What are basic methods of dataadapter?
How can we load multiple tables in to dataset?