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
Why ca not we use multiple inheritance and garbage collector paralelly in .net?
describe the dataset object in ado.net.
What is an ADO.Net?
What is defaultview in datatable?
What is oledb connection?
What is the purpose of using adodb?
What are the different ado.net namespaces are available in .net?
What are the advantages using ado.net?
How do you find the count of records in a dataset?
What is connection string?
What is Data Provider?
What is ado code?
What is the maximum pool size in ado.net connection string?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What is bubbled event can you please explain?