The default value type does not match the type of the property

前端 未结 2 1999
轮回少年
轮回少年 2020-12-25 09:40

I have this class

public class Tooth
{
    public string Id {get;set;}
}

And this custrom control

public partial class To         


        
2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 09:50

    I came here for the title of the question but my type was a decimal default value and i solved with this 0.0M https://msdn.microsoft.com/en-us/library/83fhsxwc.aspx

提交回复
热议问题