Click here to Skip to main content
14,391,796 members
Rate this:
Please Sign up or sign in to vote.
See more:
please, i am developing a website data require using a database, where i am using asp.net. i use the vb.net coding method and it work, but i am not sure if it will work when i change the aspx extension to .htm, or is there another way of connecting html pages to database.

i need help on how to connect to database while using html.
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

HTML are static pages, if you want to use database then you need to create classic asp or php or jsp or .NET pages.


Please check the following link for classic asp/database tutorial:
http://www.w3schools.com/asp/asp_ado.asp

.NET tutorial
http://www.w3schools.com/aspnet/aspnet_dbconnection.asp
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100