Wednesday, September 28, 2011

Converting Dataset column to Array


String[] rowValuesForColumn =
Array.ConvertAll<DataRow, String>(
dataTable.Select(),
delegate(DataRow row) { return (String) row[columnName]; }
);

No comments:

Post a Comment