0
我需要獲取ReportViewer
上顯示的當前RDLC
的文件名。有沒有像獲取當前RDLC報告的文件名
Dim filename As String = Me.ReportViewer1.LocalReport.GetFilename?
因爲我不想做以下事情。
Dim path As String() = Me.ReportViewer1.LocalReport.ReportPath.Split("\")
Dim filename As String = path(path.Length - 1)