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 are the important components of .net?
What exactly is being serialized when you perform serialization in .net?
What is the new three features of COM+ services, which are not there in COM (MTS)
What is .net latest version?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
When we go for html server controls and when we go for web server controls?
What is machine.config in .net?
How anonymous method is different from a lambda expression?
What’s different between process and application in .net?
What are the features of dot net?
What is the purpose of enumerable class in .net?
Write the .net syntax for 'for loop'?
What is the benefit of .net core?
Should I use readerwriterlock instead of monitor.enter/exit?
What is Code group in .Net with respect to CAS