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
What makes .net core cross platform?
Which namespace is require to used XML in .NET?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
When should I use .net core?
What is WSDL? Explain its architecture?
Explain the features that are common to all .Net languages.
Is it true that objects don't always get destroyed immediately when the last reference goes away?
What is loosely coupled solution in.net?
What is delegation in .net?
What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What is the difference between .net and laravel?
Explain me what is an anonymous method and how is it different from a lambda expression?
What is manifest in .net?
What is the use of design pattern?
How does cas works?