Since a DataReader can only see one record at a time it can't count anyupcoming records.www.learnasp.com/freebook/learn/datatable.aspxa datatable has what you want