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

Tell us what is the native image generator?

779


Explain me what is the difference between a class and an object, and how do these terms relate to each other?

734


How is meant by dll in .net?

786


What are three common acronyms used in .net, and what do they stand for?

776


What is the procedure to add assemly to gac to make it shared one?

764


What is garbage collection and how it works ?

833


Explain .NET architecture?

861


Explain when should you use .net web forms over asp.net mvc?

731


What is dot net and its uses?

772


What is iis? Have you used it?

779


Describe session handling in a webform, how does it work and what are the limitations?

813


How boxing and unboxing occures in memory?

843


What is the difference between boxing and unboxing?

755


What is implement a generic action in webapi?

973


Explain about .Net products?

857