In asp.net pages which namespaces are required to enable the use of databases?

Last updated:9/21/2020 9:20:33 AM

1 Answers

Sunil Singh
Sunil Singh

We use following namespaces to enable the use of databases in ASP.NET pages:The System.Data namespace in all cases

The System.Data.OleDb namespace is implement to use any data provider, such asAccess, Oracle, or SQL

The System.Data.SQLClient namespace is use for specifically to use SQL as the dataprovider

Answer