Click here to Skip to main content
15,921,169 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sigining the script...... Pin
p_196017-Apr-09 1:04
p_196017-Apr-09 1:04 
GeneralRe: Sigining the script...... Pin
Dave Kreskowiak17-Apr-09 10:55
mveDave Kreskowiak17-Apr-09 10:55 
Questionhelp on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Tenzin Kunkyab16-Apr-09 0:45
Tenzin Kunkyab16-Apr-09 0:45 
AnswerRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Nilesh Hapse16-Apr-09 1:25
Nilesh Hapse16-Apr-09 1:25 
AnswerRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Johan Hakkesteegt16-Apr-09 2:18
Johan Hakkesteegt16-Apr-09 2:18 
GeneralRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Tenzin Kunkyab17-Apr-09 23:32
Tenzin Kunkyab17-Apr-09 23:32 
Questionbuild string from array Pin
Anoop Brijmohun15-Apr-09 22:28
Anoop Brijmohun15-Apr-09 22:28 
RantRe: build string from array Pin
Nilesh Hapse15-Apr-09 23:40
Nilesh Hapse15-Apr-09 23:40 
GeneralRe: build string from array Pin
Anoop Brijmohun16-Apr-09 2:42
Anoop Brijmohun16-Apr-09 2:42 
GeneralRe: build string from array Pin
CPallini16-Apr-09 8:11
mveCPallini16-Apr-09 8:11 
GeneralRe: build string from array Pin
riced16-Apr-09 12:17
riced16-Apr-09 12:17 
GeneralRe: build string from array Pin
Johan Hakkesteegt16-Apr-09 20:55
Johan Hakkesteegt16-Apr-09 20:55 
AnswerRe: build string from array [modified] Pin
CPallini16-Apr-09 0:05
mveCPallini16-Apr-09 0:05 
GeneralRe: build string from array Pin
0x3c016-Apr-09 0:50
0x3c016-Apr-09 0:50 
QuestionUpdate records Pin
mansi368715-Apr-09 21:20
mansi368715-Apr-09 21:20 
AnswerRe: Update records Pin
Henry Minute15-Apr-09 23:58
Henry Minute15-Apr-09 23:58 
AnswerRe: Update records Pin
Johan Hakkesteegt16-Apr-09 0:18
Johan Hakkesteegt16-Apr-09 0:18 
QuestionHow do i load xml file into memory for parsing Pin
kryan015-Apr-09 11:09
kryan015-Apr-09 11:09 
AnswerRe: How do i load xml file into memory for parsing [modified] Pin
0x3c015-Apr-09 11:43
0x3c015-Apr-09 11:43 
GeneralRe: How do i load xml file into memory for parsing Pin
kryan015-Apr-09 12:03
kryan015-Apr-09 12:03 
GeneralRe: How do i load xml file into memory for parsing Pin
Christian Graus15-Apr-09 19:16
protectorChristian Graus15-Apr-09 19:16 
GeneralRe: How do i load xml file into memory for parsing Pin
Johan Hakkesteegt16-Apr-09 0:28
Johan Hakkesteegt16-Apr-09 0:28 
GeneralRe: How do i load xml file into memory for parsing Pin
0x3c016-Apr-09 0:47
0x3c016-Apr-09 0:47 
AnswerRe: How do i load xml file into memory for parsing Pin
kryan016-Apr-09 8:29
kryan016-Apr-09 8:29 
QuestionVB.NET 2008 Subreport Cannot Be Shown Pin
DaveMcTKD15-Apr-09 9:37
DaveMcTKD15-Apr-09 9:37 
I have searched for answers on the web, have some good suggestions but they do not seem to fix my problem.
On a web form, I have a report with a sub-report. No matter what I do, I get the error message "Error: Subreport could not be shown."
I can run the subreport as a main report on another page, and it works fine.
I found elsewhere that I have to add a handler for the subreportpreocessing event, and have done so but it does not get called when I step through the code.
Below is some code for the events that lead up to the problem:

==========
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim JobAppID As Integer = Val(Me.DDL_JobAppID.SelectedValue) 'For main report parameter
Dim params(0) As ReportParameter
Me.ReportViewer1.LocalReport.ReportPath = ".\admin\employmentapplicant.rdlc"

AddHandler ReportViewer1.LocalReport.SubreportProcessing, AddressOf SubreportDatabind

params(0) = New ReportParameter("vJobAppID", JobAppID, False)
Me.ReportViewer1.LocalReport.SetParameters(params)
Me.ReportViewer1.LocalReport.Refresh()
'End If
End Sub

Public Sub SubreportDatabind(ByVal sender As Object, ByVal e As SubreportProcessingEventArgs)
Dim MyReportDataSource = New ReportDataSource("DS_References", Me.DS_References)
e.DataSources.Add(MyReportDataSource)
End Sub
==
Also, in the .aspx file I have tried both with and without the following:<LocalReport ReportPath="Admin\EmploymentApplicant.rdlc" OnSubreportProcessing="SubreportDatabind">

Help would be appreciated!!

Dave McDonald
Web Developer

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.