List<string> blackIpList = (from d in ds.Tables[0].AsEnumerable() select d.Field<string>("blackip") ).ToList();