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 is the purpose of IClonable interface in .NET?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.
What are the different types of memory in .net?
What relationship is between a process, application domain, and application?
Do you know what is .net standard?
What are .net functions?
What are the different.net tools which you used in projects?
Define marshling?
What is namespace in .net?
What is the native image generator?
How do you trigger the paint event in system.drawing?
Why SOAP is required?
Explain how garbage collection works?
Difference between abstract class and interface in .net?
Do you know what is linq?