Пример #1
0
        public DetailedDeductionChildTable(int idx)
        {
            InitializeComponent( );

            _wy     = new MulaolaoLibrary.DetailedDeductionWYLibrary( );
            _bll    = new MulaolaoBll.Bll.DetailedDeductionBll( );
            _wy.idx = idx;
            //Task<DataTable> task = new Task<DataTable> ( getTableView ,_wy . idx );
            //task . Start ( );
            tableView = _bll.getTableOf(Convert.ToInt32(idx));
            gridControl1.DataSource = tableView;
        }
Пример #2
0
 DataTable getTableView(object idx)
 {
     tableView = _bll.getTableOf(Convert.ToInt32(idx));
     return(tableView);
 }