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

 Posted by Ersudeep13 on 4/29/2016 | Category: ADO.NET Interview questions | Views: 3673 | Points: 40

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)

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Katiepontius on: 6/1/2016 | Points: 10
According to plan execution is right al the performa focusly pointed out and none of them is but easily on way to take use of databases in ASP.NET.
Posted by: Tyler on: 8/18/2016 | Points: 10

I am using webmatrix asp.net starter site, and at the present moment i'm having a little setback. This is the problem:

I have the database, with stored user information (UserId, Email) in table UserProfile, and I want to send an email to the last registered user, but i can't seem to make it work, because i can't retrieve the email from the database.

Can you please help me?

Posted by: Sophiarose122 on: 4/27/2017 | Points: 10
Two namespaces are required to Work with database object in asp.net pages. 1-System.Data, 2-System.Data.SqlClient

Posted by: Dannycrane on: 2/8/2018 | Points: 10
I never imagined that there is a site that explains this concept in such a clear manner. I will most definitely recommend this site to my friends. Why don't you click on: www.prolificresearchpaperwriters.com/17-capstone-writing-services/215-buy-dnp-capstones Whenever you are in need of professional nursing capstone project wring assistance.
Posted by: Pdanny on: 10/29/2019 | Points: 10
Thank you for sharing such a brilliant report. https://custompaperswritinghelp.com/SPSS-data-analysis-help/ . I must tell am deeply overwhelmed by your entire write-up. It’s not easy to get such kind of knowledge online nowadays. I look ahead to visiting here for a lengthy time. https://thesis-dissertationwritinghelp.com/pay-someone-to-analyze-data/

Login to post response

More Interview Questions by Ersudeep13