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 common language specification (cls)?
Please explain what is reflection and what is it for?
What is WSDL? Explain its architecture?
What is an assembly? What are the different types of assemblies?
How do you instantiate a complex number?
Tell us what is a variable of implicit type and what is its scope?
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 is COM Interoperability in .NET
What is the difference between boxing and unboxing?
How inheritance works in .net?
Explain the difference between garbage collections in .net 4.0 and earlier versions?
Explain how to produce an assembly?
Explain is the jit an interpreter?
What is il in vb.net?
Please explain the difference between constants and read-only variables?