JSMITH242B
Programmer
Hi All,
I have the following code which works using the ReportViewer component. However how do I pass in the current date i.e Now?
When I use DateTime.Today.ToString I get the following error: The value provided for the report parameter 'SnapshotDate' is not valid for its type. SnapshoteDate is defined as DateTime.
If Not IsPostBack Then
ReportViewer1.ServerUrl = " ReportViewer1.ReportPath = "%2fCorVuReports/LAA/Pie&SnapshotDate=06/01/2004"
ReportViewer1.Toolbar = Microsoft.Samples.ReportingServices.ReportViewer.multiState.False
ReportViewer1.Zoom = "75"
End If
I have the following code which works using the ReportViewer component. However how do I pass in the current date i.e Now?
When I use DateTime.Today.ToString I get the following error: The value provided for the report parameter 'SnapshotDate' is not valid for its type. SnapshoteDate is defined as DateTime.
If Not IsPostBack Then
ReportViewer1.ServerUrl = " ReportViewer1.ReportPath = "%2fCorVuReports/LAA/Pie&SnapshotDate=06/01/2004"
ReportViewer1.Toolbar = Microsoft.Samples.ReportingServices.ReportViewer.multiState.False
ReportViewer1.Zoom = "75"
End If