My list data is increased more than 2000 . So, I can not use my datasourse directly . Please let me know how I can load all the items to collection .
You might want to take a look at this recent post which deals with some solutions for doing just that.
I hope this help.
That post suggested multiple methods to getting more than 2000 records. You will have to make a determination as to what you can delegate properly and then "ask the question" to your datasource as many times as necessary until you get all the results you need.
Since that post covered many different scenarios - can you present your scenario that you are having problems with, what you've tried to do, and where you might be running into problems?
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.