public bool MoveNext() { index++; if (index >= this.Count) //21Jan2014 Anil: there are not 10 rows always. old code --> (index == 10) return false; else return true; }