Actually You know where you are providing the criteria for SQL you are providing the wrong data type i think it demands for some integer type and you are providing String Type because you usually get this problem when you are trying to compare or pass data to different datatype thingyif you can send me the full code then i would be eligible to tell you why you are getting this errorThnaks