如何设置字段必录

private void SatFieldMustInput (string strKey,bool mustInput)
        {
            this.View.BillBusinessInfo.GetField(strKey).MustInput = Convert.ToInt32(mustInput);
            this.View.GetControl(strKey).SetCustomPropertyValue("mustInput", mustInput);
        }

原文地址:https://www.cnblogs.com/fyq891014/p/4188785.html