[Solved] Specified cast is not valid in linq query 9to5Answer
Specified Cast Is Not Valid. This is the answer, you're selecting the wrong columns, if your table has an identity table then you're selecting the id with 0 most likely. Web because you're trying to cast an object to a userrole and the cast doesn't exist.
[Solved] Specified cast is not valid in linq query 9to5Answer
This is the answer, you're selecting the wrong columns, if your table has an identity table then you're selecting the id with 0 most likely. Web dec 30, 2014 at 5:15. It looks like you're trying to cast reader[role] to a userrole object and i'm. Web specified cast is not valid. Web because you're trying to cast an object to a userrole and the cast doesn't exist. Public object convert (object value) { string retval = string.empty; 2 nd one is a difficult situation because you need to look for another good/restorable backup.
Public object convert (object value) { string retval = string.empty; This is the answer, you're selecting the wrong columns, if your table has an identity table then you're selecting the id with 0 most likely. Web specified cast is not valid. It looks like you're trying to cast reader[role] to a userrole object and i'm. Web because you're trying to cast an object to a userrole and the cast doesn't exist. 2 nd one is a difficult situation because you need to look for another good/restorable backup. Web dec 30, 2014 at 5:15. Public object convert (object value) { string retval = string.empty;