BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
ArrayList list = new ArrayList (gridData.Rows.Count); foreach (DataRow row in gridData.Rows) { list.Add(AquadorNET.DataExtraction.GetIntFromDBObject(row["X"], -1)); } list.Sort(); int i = 0; while (i + 1 < list.Count) { if(list[i] = list[i+1] { list.RemoveAt(i); } else i += 1; }I did not run the above code, so I may have overlooked something, but this is similar to the technique we use the CreateUniqueEntries code in the GridDataBoundGrid FilterBar if you need to see some working code.
engine.SetSourceList(dataTable1.DefaultView);
or
engine.SetSourceList(new DataView(dataTable1));