Click here to Skip to main content
12,406,322 members (66,062 online)
Click here to Skip to main content
Alternatives
Add your own
alternative version

Tagged as

Stats

29K views
7 bookmarked
Posted

Convert Linq Query Result To DataTable

, 5 Apr 2010 CPOL
Sometimes you need the Linq query result as datatable (I need it today)Use this: public DataTable ToDataTable(System.Data.Linq.DataContext ctx, object query) { if (query == null) { throw new ArgumentNullException("query"); ...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Rami Shareef
Software Developer KATAKIT
Syrian Arab Republic Syrian Arab Republic
I never done anything before

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160726.1 | Last Updated 5 Apr 2010
Article Copyright 2010 by Rami Shareef
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid