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;
}