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
How do you define the lease of the object in .net?
What is a .DLL and .EXE files called in .NET?
What is the advantage of packaging over xcopy in .net?
Who is using .net core?
Can a dll be changed to an exe?
Is .net front end or backend?
Is .net is a language?
Explain how to redirect tracing to a file?
What is the use of activex control in .net?
Explain me how does linq work?
What is Full trust permission set in .Net
Can a try block have more than one catch block?
Tell me what is a “jagged array”?
What are the new features in .net core?
Explain difference between panel and groupbox classes using .net?