Dot Net Snippets
This site provides you with Dot Net source codes which will be of use
Thursday, May 13, 2010
Convert DataTable Column into String Array without Looping
Here
ColumnName
is the Specific Column in the Datatable
String[] rowValuesForColumn = Array.ConvertAll
(dataTable.Select(),
delegate(DataRow row) { return (String) row[columnName]; });
1 comment:
Unknown
July 9, 2013 at 1:09 AM
nice one... thank u...
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
nice one... thank u...
ReplyDelete