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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Mar 16, 2022, 4:21 AM
Muhammad Imran AnsariPosted Mar 16, 2022, 7:45 AM
Use the following query to fill datatable with linq query:
var query = //Your linq query for datatable.... DataTable dt = query.CopyToDataTable();
Jagjit SainiPosted Mar 16, 2022, 4:46 AM