how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / varun
in the sql server
using system.data.sqlclient
sqlconnection con=new
sqlconnection("server=;uid=;pwd=;database=;");
con.open();
Ms-Access:
Namespace->using system.data.oledb;
oledbconnection con=new oledb connection
("Servername="";uid="";pwd="";database="")
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Is .net core free?
What is .net standard?
Can any object be stored in a viewstate in .net?
What is the difference between constants and read-only variables?
which methos do you invoke on the dataadapter control to load your generated dataset with data?
What is the lapsed listener problem?
What is il and c#?
What is DTS and explain the purpose of it?
Explain webfarm vs webgardens in .net?
How viewstate is being formed and how it is stored on client in .net?
What is a metadata in .net?
What's the use of system.diagnostics.process class in .net?
Explain me what is .net web service?
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
Is there built-in support for tracing?