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
How to check if a datareader is closed or opened? IsClosed()
What are the advantages and disadvantages of using datalist?
What do you know about ado.net's objects?
Why do we need ado.net?
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
What is Serialization in .NET? what are the types of Serialization?
Explain the difference in record set and dataset?
What is the difference between sqldatareader and sqldataadapter?
What does datareader object do?
What are the parameters that control most of connection pooling behaviours?
What is difference between entity framework and ado.net?
What is the use of SqlCommandBuilder?
What is two way data binding android?
What is the difference between executequery and executenonquery?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?