DataTable dt = new DataTable();
string str;
string[] s = Array.ConvertAll<DataRow, string>(dt.Select(), delegate(DataRow row)
{
return (string)row[""];
});
str = String.Join(",", s);
C# code convert into VB.Net (Generic)
402 views Asked by Ramamoorthy At
1
Are you looking for something like following:
In case of
VB 8.0 (.Net 2.0), it does not support anonymous methods. To workaround that, use following code:ConvertRowToStringfunction: