what is the syntax code to oledb to connect oracle
Answers were Sorted based on User's Feedback
Answer / govind.konduri
using system.data.oledb;
oledbconnection oracon=new oledbconnection
( " provider=msdaora;
User Id=scott;
Password=Tiger");
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kakani kumar
Using System.Data.Oledb;
OledbConnection cnn = new Oledbconnection("Prvider=MsDaOra,
User ID=scott, Password=Tiger, Datasource=m10 );
Datasource is optinal
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / srinivas
using system.data.oledb;
oledbconnection cn=new
oledbconnection("uid=<user_name>;pwd=<pwd>;server=<servername>");
cn.open();
here u declare <user_name> is u give username
pwd is u give password
<server> or data source is u give
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / 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 |
Answer / siddhartha sharma
using System.data.oledb;
oledbdataadapter da;
dataset ds;
da=new data Adapter("select * from
Databasename","connection string");
ds=new dataset();
da.fill(ds);// fetch the database to frontend
//// we use that syntex to fetch oracle database to our
application
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the use of sqldatareader class?
What is difference between sqldatareader and sqldataadapter?
Does ado.net use odbc?
What is ado in agriculture?
Does executenonquery return a value?
What is defaultview in datatable?
explain connection less and with connection?diference between data reader,data set,data adapter? can we use data reader,data set in a single application? if yes explain with simple code,if no explain?
What is ado full form?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
What is the difference between oledbreader and datasetwhile connecting?
How to check if the Dataset has records ?
FetCh Records No 5 to 10 From Dataset
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)