10
Reply

Arithmetic overflow Exception in Linq query.

Dipesh Tare

Dipesh Tare

Mar 20 2015 1:56 AM
935
Hello,
 
I know this is the genearl question but I didnot get solution.
I am getting the Arithmetic overflow error converting expression to data type int  Exception in below line
 
ctx.Users.Where(un => un.CorporateEmail == username && un.Password == password).FirstOrDefault(); 
 
Can any one suggest me to get out of this?
 
Thanks.

Answers (10)