Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How would u connect to database using .NET?

Answer Posted / vivek

using Connection object
SqlConnectin cn=new SqlConnection();
from .net we can connect to any backend with middlleware
and direct connections.
middleware means ODBC,OleDb,ISAM etc.
we can directly connect to Sqlserver and Oracle
we can connect to sql server in 4 ways
1)direct connection
2)ODBC way
3)OleDb way
4)Express way
for oracle we can connect in 3 ways.
1)direct connection
2)ODBC way
3)OleDb way

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

4458


What is microsoft ado?

1007


What is the difference between ado.net and entity framework?

1051


What is serialization and de-serialization in .net? How can we serialize the dataset object?

968


What is the use of connection object in ado.net?

1059


How to create data relations?

1000


What is basic use of data view?

1008


What are the methods of XML dataset object?

1028


What is an ado?

986


Which is the best method to get two values from the database?

969


What is aggregating data ?

962


What is row state?

988


What is the difference between ado.net and oledb?

952


Explain what are acid properties?

1000


What are the advantage of ado.net?

998