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

Is .net core free?

1088


What is .net standard?

1202


Can any object be stored in a viewstate in .net?

1073


What is the difference between constants and read-only variables?

1085


which methos do you invoke on the dataadapter control to load your generated dataset with data?

1056


What is the lapsed listener problem?

1182


What is il and c#?

1118


What is DTS and explain the purpose of it?

1077


Explain webfarm vs webgardens in .net?

1083


How viewstate is being formed and how it is stored on client in .net?

996


What is a metadata in .net?

1068


What's the use of system.diagnostics.process class in .net?

1068


Explain me what is .net web service?

1039


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

1044


Is there built-in support for tracing?

1028