Click here to Skip to main content
15,896,489 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900