Hi
Can we search a record from Datatable using Linq or some other way without loop.
Thanks
Hi
Can we search a record from Datatable using Linq or some other way without loop.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Mar 16, 2022, 12:21 AM EDT
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Mar 16, 2022, 3:45 AM EDT
Use the following query to fill datatable with linq query:
var query = //Your linq query for datatable.... DataTable dt = query.CopyToDataTable();
Jagjit SainiRank #6,453 · 266 reputationPosted Mar 16, 2022, 12:46 AM EDT