62,041
社区成员
发帖
与我相关
我的任务
分享
//不知道是不是这样?
HashTable hash = new HashTable();
string temp = "";
foreach(DataRow row in dt.Rows){
if(!hash.Contains(row["xx"])){
hash.Add(row["xx"],row["xx"]);
}else{
temp += row["xx"].ToString();
row["xx"] = temp;
}
}