Exemplo n.º 1
0
        //加载数据
        private void GetData(int pageIndex, string checkState)
        {
            if (cmbVehicleInfo != null && cmbVehicleInfo.Items.Count > 0)
            {
                int pageCount = 0;
                ObservableCollection <object> paras = new System.Collections.ObjectModel.ObservableCollection <object>();   //参数值
                paras.Add((cmbVehicleInfo.SelectionBoxItem as T_OA_VEHICLE).ASSETID);
                paras.Add(dtiStartDate.DateTimeValue);

                SMT.SaaS.OA.UI.SmtOACommonAdminService.LoginUserInfo loginInfo = new SMT.SaaS.OA.UI.SmtOACommonAdminService.LoginUserInfo();
                vehicleManager.Gets_VDCheckedAsync(pageIndex, dataPager.PageSize, "CREATEDATE", "", paras, pageCount, loginInfo);
            }
        }