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

Answer Posted / rajesh chekuri

MySQLConnection myConn;
myConn = new MySQLConnection(new
MySQLConnectionString("localhost", "databse", "User",
"password").AsString);
For More Info Visit www.funnydotnet.co.cc

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a try block have more than one catch block?

607


How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?

572


How to manage pagination in a page using .net?

568


Is .net is a language?

563


What are situations when you register .NET assembly in GAC ?

645






Should I use readerwriterlock instead of monitor.enter/exit?

534


What is meant by globalization?

571


Elements of CAS

1747


What is assemblies in .net?

621


Explain the difference between public and static modifiers?

562


Name the classes that are introduced in the system.numerics namespace.

629


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

563


What is machine.config in .net?

568


What versions of .net are there?

619


What is reflection in microsoft .net context?

569