simply bind the table array length like

 <div>{{ Tablearray.lenght }}</div>

On Sun, Feb 23, 2020 at 1:54 PM ahmed elbarbary <ahmedsa.aziz...@gmail.com>
wrote:

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/8919c951-64eb-4965-80a1-04d42ed9d4f5%40googlegroups.com
> <https://groups.google.com/d/msgid/angular/8919c951-64eb-4965-80a1-04d42ed9d4f5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CAN6Cr%2B9Ln_zn%2B5nSizqSfZomaiDtpEqjcmDuvLviiWrzFDoRAA%40mail.gmail.com.

Reply via email to