• HI phil,

    thanks for helping once again. I will trying what u suggest later, currently out of office. But i guess the problem is most likely to do with getting the count(*) and store it as an int in an int variable

    rowCounter = sqlDtReader.GetInt32(0)