how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / varun
in the sql server
using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();
Ms-Access:
Namespace->using system.data.oledb;
oledbconnection con=new oledb connection
("Servername="";uid="";pwd="";database="")
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Different levels of priority provided by .net.
What is COM Interoperability in .NET
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
What are the new features of Framework 1.1 ?
Can a try block have more than one catch block?
Tell us the difference between managed and unmanaged code?
What is the advantage of .net?
What is Event Bubbling in .NET?
What is the difference between function and stored procedure?
What are the authentication methods in .net?
Tell us what is a variable of implicit type and what is its scope?
What is lambda expressions in c#?
Name the classes that are introduced in the system.numerics namespace.
What is a .net class?