ArrayList ar = new ArrayList(); for (int h = 0; h<ds1.Tables[0].Rows.Count; h++) { if (!ar.Contains(ds1.Tables[0].Rows[h][0].ToString())) { ar.Add(Convert.ToString(ds1.Tables[0].Rows[h][0].ToString())); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)