how to connect database connectivity in dotNET? if suppose
SQL server?and also MS access?
Answer Posted / aravind
in code behind give namespace
using System.data.sqlclient;
and write connections string in web.config to which
database to connect
Is This Answer Correct ? | 40 Yes | 6 No |
Post New Answer View All Answers
Explain the differences between server-side code and client-side code.
Explain Different kinds of methods?
How do I spawn a thread?
What is common language specification (cls)?
Is there built-in support for logging?
What is .net assembly?
Explain the difference between asp.net & vb.net and explain architecture?
What are the new thee features of com+ services, which are not there in com (mts)?
What does msil do?
What is connected and diconnected database ?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
How will you load dynamic assembly? How will create assemblies at run time?
Will it go to finally block if there is no exception happened?
Explain can the validation be done in the server side? Or this can be done only in the client side?
Explain webfarm vs webgardens in .net?