如何设置字段必录

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

posted @ 2014-09-04 18:26  范永强  阅读(275)  评论(0编辑  收藏  举报