0

hi.. i am confuse about the difference between web pages coded in asp.net and coded in html.. can we access html coded page in asp.net for database connectivity?? or i hav to make whole code of page in asp???

4
Contributors
4
Replies
6
Views
5 Years
Discussion Span
Last Post by Sarama2030
0

Fundamentally an ASP.NET page is just the same as an HTML page.

An HTML page has the extension .htm. If a browser requests an HTML page from the server, the server sends the page to the browser without any modifications.

An ASP.NET page has the extension .aspx. If a browser requests an ASP.NET page, the server processes any executable code in the page, before the result is sent back to the browser.

More details:http://www.w3schools.com/aspnet/aspnet_pages.asp

0

HTMl pages are uses for static view of content...While ASP.Net pages are using for dynamic geneate pages

0

You can't use an html page for connecting to a database because you can't write any server-side code in it.Like those guys have said above html pages are static.To change their content you have to edit the code(html).On the other hand, asp.net pages can also be static but if they derive their content from a data source like a database they work like magic.Used to build dynamic websites that interact with the user and service user requests.

0

There's no need of having an html page and a n asp.net page because an asp.net page is a better html page with all the capabilities of an html page but of course the same can't be said of an html page.So if u'r going the database way take asp.net.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.