标签:row col 重复 str 判断 turn lag att atd
public bool HasRepeatData(DataTable dt,string[] colName)
{
bool flag=false;
DataView myDataView = new DataView(dt);
if (myDataView.ToTable(true, colName).Rows.Count < dt.Rows.Count)
{
flag = true;
}
return flag;
}
标签:row col 重复 str 判断 turn lag att atd
原文地址:https://www.cnblogs.com/clj0102/p/9399335.html