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 |
Give few examples of datareader that is used in different dataproviders.
What are the functions of oledbdataadapter?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
Is it possible to edit data in Repeater control?
what is type dataset?
If i am expecting a single result from sqlserverdatabase then what command should i follow ?sqlcommand.executereader (commandbehaviour.singleresult)or sqlcommand.executescalar()
differance between ADO vs ADO.Net?
What is the default view of Data Grid?
what is meant by connection pooling and event pumbling in ado.net
What are ado.net objects?
What is difference between datatable and dataset?
What are the data providers used in ado.net
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)