10
Answers

Arithmetic overflow Exception in Linq query.

Dipesh Tare

Dipesh Tare

9y
2.3k
1
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)