long containerHeaderId = _unitDtoList.ContainerHeaderId; //Get the report datasources from here ReportDataSource[] reportDataSources = new ReportDataSource[2]; reportDataSources[0] = GetUnitContainerGenealogyInquiryData(_parentUnitDtoList.DtoList[_count] , DataTypeConversion.StringToLong(e.Parameters[0].Values[0]) , containerHeaderId); DataSet dsTrackedBy = ToDataSet(_unitGenealogyTrackedByDetails); reportDataSources[1] = new ReportDataSource(ConstantReference.Reports.ReportDatasourceUnitGenealogyBarcodeTrackedByDetail, dsTrackedBy.Tables[0]); //Display the report in report viewer foreach (var dataSource in reportDataSources) { e.DataSources.Add(dataSource); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)