When I run my application and I click a specific button I get the error:
\"The \"X\" property on \"Y\" could not be set to a \'null\' value. You must set thi
I just replace data type int to int32?
int
int32?
public Int32 Field{ get; set; }
to
public Int32? Field{ get; set; }
and the problem is solved