DataTable.Select vs DataTable.rows.Find vs foreach vs Find(Predicate)/Lambda

前端 未结 5 930
情深已故
情深已故 2020-12-25 15:20

I have a DataTable/collection that is cached in memory, I want to use this as a source to generate results for an auto complete textbox (using AJAX of course). I am evaluati

5条回答
  •  梦谈多话
    2020-12-25 15:33

    What about a DataView? You could apply your filter condition AND sort by the the priority, and easily iterate through the results to add to your results.

提交回复
热议问题