Seeking assistance as I navigate the process of extracting data from two tables within the same SQL Server database. My goal is to incorporate this data into an HTML table, utilizing a JavaScript script to access information from one table (Table1). Below is a snippet of code where I specify the 'url' belonging to Table1:
"ajax": { "url": "/Table/GetList/", "type": "POST", "data": { 'data': myJSONText }, },
Any guidance would be greatly appreciated!
To clarify, the two tables in question are interrelated and the project has been developed using ASP.NET Razor C#.