what is the syntax code to oledb to connect oracle
Answer Posted / sinthu vijay kumar
hi friends...
we have so many databases for ex oracle,sql
server,sybase,ms Access etc.providers are used to giving
the connecion to the database ,which r different for
different databases.the avilable providers in ado.net are
oracle.net data provider,odbc.net dataprovider etc.
the syntax for provider is:
con=new odbcconnection
("uid=scott,pwd=tiger,database=oracle")
here uid,pwd,database r vary with different databases.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of using of ADO.NET in .NET 4.0?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
What connected data?
Explain the namespaces in which .net has the data functionality class.
Do we use stored procedure in ADO.Net?
What is the difference between DataReader and DataSet in ADO.NET?
How can we perform transactions in .net?
List all the steps in order, to access a database through ado.net?
Explain the difference between ado and ado.net?
What is the difference between data reader and data adapter?
What are the key features of ado.net?
How can we check that some changes have been made to dataset since it was loaded?
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
List the 4 common ado.net namespaces?
What is the difference between statement and preparedstatement interface?