Code: Select all
report.Dictionary.Variables["OrderCreatedDat"].Value = order.CreatedDate.ToString();
I've also tried formatting the date to an ISO8601 standard string, but that gets me an error when compiling the report because there's no implicit conversion between 'System.DateTime' and 'string'.
How do I set this value?