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
Which Namespace is used to to achieve MultiThreading in .NET?
Can I write my own .net host?
What are the differences between user control and server control?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
Describe difference between inline and code-behind?
Explain the garbage collection process?
What is loosely coupled solution in.net?
What are the different types of Classes in .NET?
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
What are the collections you've used?
can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?
Do you know what is lambda expressions in c#?
What does cil do?
Differences between namespace, class, assembly?
What is immutability?