Error

Error converting data type nvarchar to int.
Error

Object reference not set to an instance of an object.