Not sure if I understood your question correctly but if you want to get a single string variable containing all the names (with delimiter perhaps) then try something like:
string sVariable = string.Join(",", dt.AsEnumerable().Select(x => x["Name"].ToString()));
Just remember to define
using System.Data;
in order to be able to use the LINQ methods.