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
Should I implement finalize on my class? Should I implement idisposable?
State some of the different languages supported by .net?
Explain what is mutex?
Can a dll be changed to an exe?
Do you know what is garbage collector?
Can you write a class without specifying namespace?
What is assemblies in .net?
What is the difference between task and thread in .net?
What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
What is the use of UML in .Net
Tell us what is heap and what is stack?
What is msil, il?
What is the difference between override and overload in a method?
Describe the Managed Execution Process
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?