how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?

Answer Posted / manish

in the sql server

using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we go for html server controls and when we go for web server controls?

784


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

770


How you apply a theme in whole application in .Net?

831


What is jit compilers?

766


What are the purposes of using .net?

843


How to create multiple inheritance in c#, with example?

776


Explain me what are the deferred execution and the immediate execution in linq?

771


Describe the Managed Execution Process?

2248


Explain what are the deferred execution and the immediate execution in linq?

775


What are the different types of Classes in .NET?

830


Tell me about secure socket layer? How to make use of the technology?

755


How we can achieve Connection pooling in .Net?

854


What is delegation in .net?

815


What are the different types of remote object creation mode in .net?

781


Explain what is the difference between web application and enterprise application?

783