what is the syntax code for oldb to connect oracle?
Answer Posted / srinivas.kinthada
i think it's oledb may b.
in c#.net coding
1)
using oledd provider
1.system.data.oledb;
2.oledbconnection cn=new
oledbconnection("username=<username>;pwd=<password>;server=<servername>");
3.cn.open();
2)
using orcale provider
1.first u can give in u r application reference of
system.data.orcaleclient.dll file trough solutionexplorer of
u r application
(rt click the mouse--->over solutinexplorer--->and click add
reference--->click on project---> and select
system.data.orcaleclient.dll file--->ok )
2.using system.data.orcaleclient;
3.orcaleconnection cn=new
orcaleconnection("username=<username>;pwd=<password>;server=<servername>");
3.cn.open();
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which object of ado contains datarow datacolumn collection?
How to load multiple tables into a dataset?
What is the use of sqldatareader class?
I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?
What is the use of SqlCommand object?
What is maximum pool size in ado.net connection string?
What are the advantages using ado.net?
What is the difference between data reader and data adapter?
What is ado.net architecture?
Explain which name space is used to get assembly details?
What do you know about ado.net's objects?
What are the steps you will take to improve performance? Will you use dataset or datareader?
What are the data providers used in ado.net
What is microsoft ole db provider for sql server?
What is untyped dataset?