Estou tentando gerar um relatório no Report Viewer mas esta retornando a seguinte mensagem de erro:
"An error has occurred during report processing.
DataSetA68"
Segue código:
'1 passo: carregar o relatório
strReportPath = Server.MapPath("~\Modelos\Sbna6801_Modelo.rdlc") 'String.Concat(Replace(My.Application.Info.DirectoryPath(), "\bin\Debug", ""), "\rdlProdutos.rdlc")
ReportViewer1.LocalReport.ReportPath = strReportPath
'definindo o DataSource do relatório
Dim myReportDataSource As ReportDataSource = New ReportDataSource("DatasetA68", DTConsulta)
ReportViewer1.LocalReport.DataSources.Add(myReportDataSource)
Exit Try
Dim reportPath As String = Server.MapPath("~\FSMax.eFood.20\Modelos\Sbna6801_Modelo.rdlc")
Dim rView As ReportViewer = New ReportViewer()
'informando os dados para o reportview
rView.LocalReport.DataSources.Add(New ReportDataSource("DatasetA68", DTConsulta))
rView.LocalReport.ReportPath = reportPath
Question
Tiago_BB 0
Olá pessoal.
Estou tentando gerar um relatório no Report Viewer mas esta retornando a seguinte mensagem de erro:
"An error has occurred during report processing.
DataSetA68"
Segue código:
Alguém pode me ajudar?
Agradeço desde já!
Edited by quintelabRemovido Ajuda do título
Link to post
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.