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 new in .net core?
What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?
What are the types of assemblies in .net?
What is the difference between reference type and value type?
How do you define the lease of the object in .net?
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
Write the .net syntax for 'while loop'?
Using activex control in .net?
What is multiThreading in .NET?
What is Ajax? How it is related to your project?
What are the improvements made in cas in .net 4.0?
Do you know the difference between the stack and the heap?
Which namespace is used to support multithearding in .NET?
which methos do you invoke on the dataadapter control to load your generated dataset with data?
Explain the different types of proxy patterns?