sorry

if(dr.HasRows)

è in realtà

if(myDatareader.HasRows)