I don't know if this is a typo from when you created the question but look at the following (from your question):
cmdAdd.CommandText = sQry
cdAdd.Parameters.AddWithValue("@IMG", img)
on the first line you have typed
cmdAdd but on the second line you have typed
cdAdd, I suggest you correct that type if it exists in your code as it could well be the issue.