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

What is common language specification (cls)?

1083


Please explain what is reflection and what is it for?

942


What is WSDL? Explain its architecture?

1192


What is an assembly? What are the different types of assemblies?

1184


How do you instantiate a complex number?

1071


Tell us what is a variable of implicit type and what is its scope?

1021


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

937


What is COM Interoperability in .NET

1089


What is the difference between boxing and unboxing?

973


How inheritance works in .net?

1042


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

1090


Explain how to produce an assembly?

1005


Explain is the jit an interpreter?

1042


What is il in vb.net?

1029


Please explain the difference between constants and read-only variables?

989