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

what is the keyword used for self reference?

1937


Explain how to stop a thread?

619


What is data type and how many types of data types are in .NET ?

555


Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?

567


What is .net latest version?

543






What is the use of activex control in .net?

583


How many types of generations are there in a garbage collector?

509


What do you mean by web service?

649


What's the problem with .net generics?

558


How inheritance works in .net?

558


What is lazy initialization?

588


Explain what are an object and a class?

566


How will you load an assembly which is not referenced by current assembly?

548


Explain about .Net products?

609


Why did they call it .net?

588