That would mean that "myrows" size is negative. Check this line to see if you are getting the rows from particular stores.
VB Code:
  1. myrows = myDataset.Tables(0).Select("V_LASTSTOR ='" & storeNum & "'")