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

Which Namespace is used to to achieve MultiThreading in .NET?

1091


Can I write my own .net host?

1102


What are the differences between user control and server control?

1103


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 ?

1998


Describe difference between inline and code-behind?

1109


Explain the garbage collection process?

1073


What is loosely coupled solution in.net?

983


What are the different types of Classes in .NET?

1080


What is Polymorphism? How does VB.NET/C# achieve polymorphism?

2909


What are the collections you've used?

1060


can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?

1938


Do you know what is lambda expressions in c#?

1059


What does cil do?

1003


Differences between namespace, class, assembly?

1033


What is immutability?

1011