25-11-18, 02:10 AM
عند فتح نافذة الـ reportViewer والإنتهاء منها
في الحدث الخاص بإغلاق النافذة قم بتنفيذ هذا الأمر .
reportViewer1.LocalReport.ReleaseSandboxAppDomain
في الحدث الخاص بإغلاق النافذة قم بتنفيذ هذا الأمر .
reportViewer1.LocalReport.ReleaseSandboxAppDomain
كود :
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
reportViewer1.LocalReport.ReleaseSandboxAppDomain()
End Sub