I'm getting this error when trying to set a parameter on a access data source at run time, I want to do it dynamically, so ignore the code below trying to put a fixed date in, thats just me trying to get it to work for now, and that value works if its set as default for the parameter so I know that should not be causing a problem.
Error message -
Compiler Error Message: BC30545: Property access must assign to the property or use its value.
Where the error happens -
Please save my sanity, I've wasted far to long trying to figure this one out.Code:Protected Sub AccessDataSource1_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) e.Command.Parameters["D4_Date"].Value="31/12/2008" End Sub