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
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?
How anonymous method is different from a lambda expression?
Do you know what is lambda expressions in c#?
What is jit compilers?
How viewstate is being formed and how it is stored on client in .net?
Do you know what's the difference between .net and laravel?
Explain the code behind wors and contrast that using the inline style.
What is the base class of Button control in .NET?
What is the difference between .net 2000 and .net 2005(features)? Which one is better?
Describe the compilation process for .net code?
Is atl redundant in the .net world?
Explain dataset.acceptchanges and dataadapter.update methods in .net?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
What is immutability?
Dynamic Fonts