string strName = null;
DataRow dRow = DB.GetDataRow(Sql语句);
if (null != dRow)
{
foreach (DataRow item in dRow.Table.Rows)
{
strName += item["SType_Name"].ToString() + ",";//取出某一列的所有数据,并进行逗号分隔
}
}