Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot load Report using Report Viewer Visual Studio 2008
    text
    copied!<p>I am using VS 2008 and SQL 2008,.I am trying to build a report using Report viewer using Parameters.I am completly new to this concept,so i was trying to develop using the basic steps as shown in various tutrials.</p> <p>1> connect to dataset</p> <p>2- Configure server</p> <p>3 - table Adapter</p> <p>4 - Add new report</p> <p>5 - Drag a table in the Report screen and add the columns</p> <p>6 * Here i am adding parameters ( fromdate,todate).Please tell me what mistake i am doing</p> <p>I got to Reports -> ReportParamaters -> Add new Parameter - > fromdate -> type : Datetime. (Same for Todate)</p> <p>7 - > In the web page. Added 2 textboxes and a button</p> <p>8 - > Dragged Reportviewer - > choose Datasoure and Report name</p> <p>Now the code Behind.</p> <p>On button click</p> <pre><code>Protected Sub btnView_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnView.Click Try setReportParameters() Me.ReportViewer1.LocalReport.Refresh() Catch ex As Exception End Try End Sub Private Sub setReportParameters() Dim Fromdate As New ReportParameter("Fromdate", tbFromDate.Text) Dim Todate As New ReportParameter("Todate", tbtodate.Text) Me.ReportViewer1.LocalReport.SetParameters(New ReportParameter() {Fromdate, Todate}) End Sub </code></pre> <p>When i Run the Report I get this Following Error</p> <p>"</p> <pre><code>An error occurred during local report processing. Error during processing of ‘FromDate’ report parameter. </code></pre> <p>All i can see is the textboxes and Button.When i click on it,nothing happens...</p> <p>Please help</p> <p>"</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload