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 top .net class that everything is derived from?
Do you know what is lambda expressions in c#?
What are an object and a class?
Explain me difference between public and static modifiers?
When displaying fonts, what is the difference between pixels, points and ems?
Tell us why do we use the “using” statement?
Explain the difference between .net 2000 and .net 2005(features)? Which one is better?
Explain .NET architecture?
Tell us what is the difference between struct and class?
How does u handle this COM components developed in other programming languages in .NET?
Is .net core the future?
How many design patterns can be created in .net?
Explain about .net assemblies?
What are the collections you've used?
Explain what inheritance is, and why it's important?