I have one .Net application and i have two databases which
is in SQL server2000 and one more database in ORACLE? how
can i access the database from different Databases?

Answer Posted / santosh

Use
DATASET for that

just take 2 conenctions
one with Sql server and other with Oracle
then use

OledbDataAdopter DAD1 = new Oledbdataadopter("select * from
emp",SQL Serverconnection)

OledbDataAdopter DAD2 = new Oledbdataadopter("select * from
Student",Oracle)

then

DAD1.fill(Dataset,"emp");
DAD2.fill(dataset,"student");


now u can acces data from same Dataset

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1676


How many types of sessions are there in asp net?

709


What are server activated objects?

809


How long the items in ViewState exists?

1161


Less than one page, how many windows will you be able to maintain?

749






What is the function used for removing an event listener?

729


What is advantage of code behind coding in ASP.NET?

743


Explain what is event bubbling?

762


What is scope of an application variable in asp.net?

691


What is variable and constant in .net programming language?

572


Why does my asp.net file have multiple tag with runat=server?

750


What is full form of asp.net?

693


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1591


Define viewstate in .net?

696


Define tracing.

816