Question: A little newbie question. I have a foreach loop where I am trying to access the property of a row object and assign to a string.

```
foreach(row in Dataset)
{
 string finalName= row.name;

}

```

On each iteration I need to concat each row's name property to the finalName 

\Thanks alot,

Answer: 
If you really just want to concat, then this is all you need...

```
string finalName = "";

foreach(DataRow row in dataset.Tables[tablename].Rows)
{
 finalName += row.name;

}

```
you can add the values into a list and then join the values in the list

```
List<string> listRows = new List<string>();
    string rowValues = string.Empty;

    foreach(row in DataSet)
    {
        string fileName = row.name;
        listRows.Add(fileName);
    }

    rowValues = string.Join(",", listRows);

```