Home > DeveloperSection > Interviews > Which namespaces are required to enable the use of databases in ASP.NET pages?

Posted on    August-21-2014 11:31 PM

 ADO.Net ADO.Net 
Ratings:
 1 Answer(s)
  993  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    August-21-2014 12:00 AM

The following namespaces are required to enable the use of databases in ASP.NET pages:

  • The System.Data namespace.
  • The System.Data.OleDb namespace (to use any data provider, such as Access, Oracle, or SQL)
  • The System.Data.SQLClient namespace (specifically to use SQL as the data provider)


Don't want to miss updates? Please click the below button!

Follow MindStick