Maybe there's an easy way to do this that I'm missing, but I'm pulling my hair out here.
I have a class that has a field...for example:
When I bind an instance of the class to a FormView, I can't seem to make it work.
If I bind to Text, I can't get empty strings to work correctly.
If I bind to DbValue, I get an error that it can't convert double? to int?.
Any suggestions, short of using a non-numeric textbox?
I have a class that has a field...for example:
protected int? _MNIIdentityID; |
public int? MNIIdentityID { |
get { return _MNIIdentityID; } |
set { _MNIIdentityID = value; } |
} |
When I bind an instance of the class to a FormView, I can't seem to make it work.
If I bind to Text, I can't get empty strings to work correctly.
If I bind to DbValue, I get an error that it can't convert double? to int?.
Any suggestions, short of using a non-numeric textbox?