Specified Cast Is Not Valid

[Solved] Specified cast is not valid in linq query 9to5Answer

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.

[Solved] Specified cast is not valid in linq query 9to5Answer
[Solved] Specified cast is not valid in linq query 9to5Answer

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; 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 dec 30, 2014 at 5:15. 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; Web specified cast is not valid. Public object convert (object value) { string retval = string.empty; Web because you're trying to cast an object to a userrole and the cast doesn't exist. It looks like you're trying to cast reader[role] to a userrole object and i'm. Web dec 30, 2014 at 5:15. 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. 2 nd one is a difficult situation because you need to look for another good/restorable backup.