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 difference between response.write & response.output.write?
Do I have any control over the garbage collection algorithm?
How do you create threading in.net?
What is .net latest version?
What is lambda expressions in c#?
What is .net3.5?
What is .net environment?
What is iis? Have you used it?
If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?
Describe the compilation process for .net code?
Explain what is a delegate?
what is the default security setting in .net?
Different levels of priority provided by .net.
Explain memory-mapped files.
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?