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

What is .net and .net framework?

1043


What is web.config in .net?

979


explain the states of a window service application?

950


What is the difference between function and stored procedure?

1061


What are the types of jit?

1006


What are the purposes of using .net?

1050


What is loosely coupled solution in.net?

956


Explain the difference between managed and unmanaged code?

874


I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?

1953


What is clr in .net?

1048


Please explain what is a delegate?

1168


What is managed code execution?

1062


Explain what is mutex?

1025


How inheritance works in .net?

980


Explain the difference between garbage collections in .net 4.0 and earlier versions?

1015