21-08-16, 01:58 PM
مع أن الكود بسيط وصحيح لتمرير نص الى RDLC Report إلا انه يعطي مشكلة
PHP كود :
Try
Dim z As ReportParameter
z = New ReportParameter("Tname", TextBox1.Text, True)
VReport.ReportViewer1.LocalReport.ReportPath = Application.StartupPath & "\Reports\Wcl.rpt"
VReport.ReportViewer1.LocalReport.SetParameters(New ReportParameter() {z})
VReport.ReportViewer1.RefreshReport()
VReport.ShowDialog()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "خطأ")
End Try