Dipesh Tare

Dipesh Tare

  • NA
  • 101
  • 33.3k

Arithmetic overflow Exception in Linq query.

Mar 20 2015 1:56 AM
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)