Avatar of 105881
105881
Flag for United States of America asked on

HTML5 Server data

I'm an ASP developer trying to understand how HTML5 gets data to display.
With ASP.NET you run server code to query a database and fill a data grid and display it.

If I'm using HTML5 how do I get data in my (SQL Server) database into a HTML5 table or grid?
Do I have to have an API on the server and read JSON data from the API or does HTML5 have functions to read directly from a SQL server database?
JSONHTMLASP.NET

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
105881

ASKER
I have an HTML page and want to add a SQL server data table to the page. So I still need an ASP or PHP server page to supply the SQL data to the HTML page?
105881

ASKER
Thanks I understand now.
Dave Baldwin

You're welcome, glad to help.  Server side code with ASP or PHP is still needed to generate the HTML code from the SQL data.  Even techniques like AJAX depend on a server program to deliver the data to the page.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck