ArrayList al = new ArrayList();
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
pipeline p = new pipeline();
p.name = ds.Tables[0].Rows[i][0].ToString();
p.time = DateTime.Parse(ds.Tables[0].Rows[i][1].ToString());
al.Add(p);
}