Example #1
0
        public void BindRowData(DataRow r)
        {
            _bindRow = r;

            if (_rowConvert == null)
            {
                _rowConvert = new BizRow();
                _rowConvert.OnJsonConvert += ConvertJson;
            }

            if (r != null)
            {
                _rowConvert.RowConvert(r, this, true);
            }
            else
            {
                InitJsonInstance();
            }
        }
Example #2
0
        public DictManageData(DataRow r)
        {
            _bindRow = r;

            if (_DictInfoRow == null)
            {
                _DictInfoRow = new BizRow();

                _DictInfoRow.OnJsonConvert += ConvertJson;
            }

            if (r != null)
            {
                _DictInfoRow.RowConvert(r, this, true);
            }
            else
            {
                字典 = new JDictionary();
            }
        }