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 is Serialization in .NET? what are the types of Serialization?

1121


What is ado net stands for?

1011


What is data access pattern?

1003


What is the difference between executequery and executenonquery?

970


What is connection in ado.net?

1000


What are the advantages and drawbacks of using ado.net?

1152


Why do we use sqldataadapter?

1001


how can implement dropdownlist in particular of dataset when try to update?

2831


Which namespaces are used for data access?

1269


Is bulk insert faster than insert?

964


What is Data Provider?

1093


Explain the advantage of ADO.Net?

1031


Command objects uses, purposes and their methods.

1025


What is the use of data grid?

998


Explain the difference between ado and ado.net?

997