C
C#8mo ago
Holyschytt

❔ I am Kinda lost right now

Getting all data from DB in Csharp and adding each Row to the HTML Table?
3 Replies
Holyschytt
Holyschytt8mo ago
I got all the db written to a LIST and i can console.writeline each row but i done the html got it working .. but now trying to figure out how to get each added row thats in the list inserted into the html via JS Only thing i am stuck at is the list and sending each row via a return data. or should i call on a js function to insert each row that way and js call the html to add the new line..
Angius
Angius8mo ago
Well, you would need to get the data from C# first So you'd need an API endpoint that returns the list And fetch() it with JS
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.