Hello
If you mean this data is in datatable so try this
List<string> iListOfTables = new List<string>();
foreach (DataRow DRow in ExistingTable.Rows) {
if (!iListOfTables.Contains(DRow("TABLES"))) {
iListOfTables.Add(DRow("TABLES"));
}
}
DataTable NewTable = new DataTable();
foreach (string iTable in iListOfTables)
{
DataRow[] iRows = ExistingTable.Select("TABLES = '" + iTable + "'");
NewTable.Rows.Add(iRows);
}