Search found 2 matches

by vcs
Fri Apr 21, 2023 10:39 am
Forum: Stimulsoft Ultimate
Topic: System.Exception: Compilation error: Cannot implicitly convert type 'int' to 'System.DateTime'
Replies: 10
Views: 14107

Re: System.Exception: Compilation error: Cannot implicitly convert type 'int' to 'System.DateTime'

We have variable 'mydate' that has data type as DateTime and that is init by expression set as Today. It is working when we pass expression (Today). But it is failing (throwing below error at this point objRepDes.Render(false) while rendering report) when we pass the value like '2/3/2023'. System.Ex...
by vcs
Fri Apr 21, 2023 9:44 am
Forum: Stimulsoft Ultimate
Topic: System.Exception: Compilation error: Cannot implicitly convert type 'int' to 'System.DateTime'
Replies: 10
Views: 14107

Re: System.Exception: Compilation error: Cannot implicitly convert type 'int' to 'System.DateTime'

Hello,

Can we pass value to the variable with date type and init By expression

Image

Thanks