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 / raju

SQl Server
namespace->Using System .data.Sqlclient;

SqlConnectin con=new SqlConnection
("Servername="";uid="";pwd="";database="")

Ms-Access:

Namespace->using system.data.oledb;

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

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?

1017


How can you assign an rgb color to a system.drawing.color object?

979


What is the difference between user control an custom control? Advantages/disadvantages?

1024


Is there built-in support for tracing?

1034


Types of evidence in .net with context to CAS

2170


What is the need of OLE-automation?

1164


What is loosely coupled solution in.net?

993


What is the root class in .net?

1150


What are the deferred execution and the immediate execution in linq?

1018


Describe difference between inline and code-behind?

1119


Explain what does managed mean in the .net context?

988


What is class library in .net

1109


Can you explain what do you understand about web service?

1121


What are the new thee features of com+ services, which are not there in com (mts)?

996


Should I use readerwriterlock instead of monitor.enter/exit?

1016