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

What are advantages of microsoft-provided data provider classes in ado.net?

955


What is microsoft ado.net?

1076


What are two important objects of ADO.Net?

978


What is ado data control?

948


Which property is used to check whether a DataReader is closed or opened?

1000


What is bubbled event can you please explain?

973


How do you connect to sql server database without using sqlclient?

1053


What is the DataTableCollection?

1008


What are the types of databinding?

938


Name which operations can you not perform on an ado.net dataset?

932


How do you merge 2 datasets into the third dataset in a simple manner?

948


What is execute scalar in ado.net?

909


Does sqlclient and oledb class share the same functionality?

880


Why do we need ado.net?

914


What is an ado connection?

924