Hi @Mohammad Qasim ,
Just use LINQ to list.getitmes(ospquery). Like this:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Greetings,
i have data into list like below,i want to count progrmatically using c#
ID, User ID UserName, Documentname
1 5 A Test
2 5 A Testa
3 6 B Testb
4 7 C Testc1
5 7 C Testc
6 8 AB Testabd
Requirement
I want "count" document, based on user on desc order, so output would be like this
Name, Total Docs
A 2
B 1
C 2
AB 1
Thanks ,works perfectly fine