Hello Tony Girling,
You should not use datetime but timestamp when you are defining the parameters. Having this in mind, your code would look like this:
(var scope = GetNewObjectScope())
// Humm!! following throws exception on Execute --- "Param type 'DATETIME' is not a valid SQL type."
var query = scope.GetSqlQuery(
var queryqueryResult = query.Execute(
reportWeek = (DateTime)queryResult.OutParameter[
Hope that helps.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.