I am getting this string to int cast exception error , but i am not getting why, Here you can see the line where i get the error , the variables, query and db.
Ca