Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.
Protected Sub lbPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbPrint.Click Try Dim streamids As String() = Nothing Dim mimeType As String = Nothing Dim encoding As String = Nothing Dim extension As String = Nothing Dim bytes As Byte() Dim sFileName As String = "" Dim cred As New ReportServerCredentials("rs", "XXX", "xxx.xx.1234") ReportViewer2.ServerReport.ReportServerCredentials = cred ReportViewer2.ShowCredentialPrompts = False ReportViewer2.ServerReport.ReportServerUrl = New Uri(resnet.Globals.Config.ReportServerPath) sFileName = "Exportable_Unit_Training_Summary.pdf" ReportViewer2.ServerReport.ReportPath = resnet.Globals.Config.ReportSubPath & "/TrainingSummaryFlatForUnit" params(0) = New Microsoft.Reporting.WebForms.ReportParameter("MemberID", CStr(CurrentMember.MemberID)) bytes = ReportViewer2.ServerReport.Render("PDF", Nothing, mimeType, encoding, extension, streamids, Nothing) Response.AddHeader("content-disposition", "attachment;filename=" & sFileName) Response.ContentType = "application/pdf" Response.Flush() Response.BinaryWrite(bytes) Response.End() Catch ex As Exception CaptureError(ex) End Try End Sub
|'string' does not contain a definition for 'Items'||8||24|
|Gridview Edit Row||10||36|
|ASP.net VB.net CheckBoxList checked items dissapear on button click||8||20|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!