problem How to display count of records on tables using angular 7 ? I work on SQL server 2012 and asp.net core 2.2 I make web API on .net core 2.2 return count of records on table meaning function API return only one value as integer my question How to display count of items on angular 7 ? localhost:8089/api/countitems on apiservice.ts How to receive count from link below ocalhost:8089/api/countitems on itemsComponent.ts How to call service here and receive count itemsComponent.html how to display count here on div or label
export class AppComponent implements OnInit { constructor() { } ngOnInit(){ // how to call count here then display on html component } }
SELECT COUNT([Id]) AS 'Count' FROM [TheTable];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)