Count is about 67k, while phisycally there are only 2 records returned by query. What's going on? The cycle keeps returning those two records until exception or change in cycle condition.
Code:
for (int i = 0, c = ds.Tables[0].Rows.Count; i < c; i++) { values1[i] = ds.Tables[0].Rows[i]["column1"].ToString(); values2[i] = ds.Tables[0].Rows[i].Field<string>("column2"); }
Comment