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 to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?

Answer Posted / varun

in the sql server

using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();

Ms-Access:

Namespace->using system.data.oledb;

oledbconnection con=new oledb connection
("Servername="";uid="";pwd="";database="")

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I implement finalize on my class? Should I implement idisposable?

1071


State some of the different languages supported by .net?

1067


Explain what is mutex?

1128


Can a dll be changed to an exe?

1222


Do you know what is garbage collector?

1058


Can you write a class without specifying namespace?

1192


What is assemblies in .net?

1169


What is the difference between task and thread in .net?

1124


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

1126


What is the use of UML in .Net

1122


Tell us what is heap and what is stack?

1254


What is msil, il?

1120


What is the difference between override and overload in a method?

1285


Describe the Managed Execution Process

2231


Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

1094