I want to display items in a dropdownlist like 5%, 10%, 15%, 20% until 100.
Is there a way to bind an intelligent LINQ query to the datasource that will do this for me?
I want to display items in a dropdownlist like 5%, 10%, 15%, 20% until
Share
You can use Enumerable.Range:
Or, in a more LINQ-like syntax: