how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / raju
SQl Server
namespace->Using System .data.Sqlclient;
SqlConnectin con=new SqlConnection
("Servername="";uid="";pwd="";database="")
Ms-Access:
Namespace->using system.data.oledb;
oledbconnection con=new oledb connection
("Servername="";uid="";pwd="";database="")
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?
How can you assign an rgb color to a system.drawing.color object?
What is the difference between user control an custom control? Advantages/disadvantages?
Is there built-in support for tracing?
Types of evidence in .net with context to CAS
What is the need of OLE-automation?
What is loosely coupled solution in.net?
What is the root class in .net?
What are the deferred execution and the immediate execution in linq?
Describe difference between inline and code-behind?
Explain what does managed mean in the .net context?
What is class library in .net
Can you explain what do you understand about web service?
What are the new thee features of com+ services, which are not there in com (mts)?
Should I use readerwriterlock instead of monitor.enter/exit?