Select listed records based on alphabet in WPF
Am looking for some help with searching the list of records by clicking the alphabet on the top or at the bottom of the application.
I am already listing the records but since the list is huge, i would like to select the record based on the alphabet select as it will be difficult to click next for next 20 pages to get to what I want. Something like below.....开发者_开发百科
Any help appreciated!!!!
Thanks
U can filter them in sql with surname Like 'P%'
or in LINQ by changing where : items.Where(r => r.Surname.StartsWith("P"))
. P is only example.
精彩评论