asked on
public static DataTable Deduplicate(DataTable ds,string dedup_on_fields_str)
{
string[] dedup_on_fields_arr = dedup_on_fields_str.Split(',');
//to do..
return ds;
}
ASKER
ASKER
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
Could you elaborate slightly. As i understand, you are pulling data from a database and you want to de-dup the returned data.
If so, question #1:
Are you trying t de-dup the entire row, or based on a particular field, i.e Name, or Surname
question #2
Why are you not using SQL to so this if you are trying to remove duplicate rows?