如何设置字段必录

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

你可能感兴趣的:(如何设置字段必录)