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 dao and ado?
What is the difference between DataReader and DataSet in ADO.NET?
Explain sqlconnection object?
Which name space is used to get assembly details?
Explain how do you connect to sql server database without using sqlclient?
Does dapper use ado.net?
Why do we serialize data?
Explain the difference between an ado.net dataset and an ado recordset?
What is the meaning of executenonquery?
What is the use of adodc?
What is the use of SqlCommand object?
What are the steps to connect to a database?
Explain the namespaces in which .net has the data functionality class.
What are the methods of XML dataset object?
What is microsoft ole db provider for sql server?