Ensure that Request.QueryString("itemid") is actually an integer that can be converted directly into an integer.
For e.g. an itemid of E55 cannot be converted into an integer directly.
Integer.TryParse
[
^] will help you check if the value is parse is actually an integer or not.