DOTNET INBOX
Coding is an Art
Tuesday, 11 June 2013
DataTable Column to List
in c#
Using LINQ:
table.AsEnumerable().Select(s => s["ID"].ToString()).ToList();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment