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

How do you define the lease of the object in .net?

957


What is a .DLL and .EXE files called in .NET?

1034


What is the advantage of packaging over xcopy in .net?

981


Who is using .net core?

929


Can a dll be changed to an exe?

1069


Is .net front end or backend?

980


Is .net is a language?

1034


Explain how to redirect tracing to a file?

959


What is the use of activex control in .net?

991


Explain me how does linq work?

1054


What is Full trust permission set in .Net

2297


Can a try block have more than one catch block?

1071


Tell me what is a “jagged array”?

994


What are the new features in .net core?

963


Explain difference between panel and groupbox classes using .net?

963