I need to subtract two date from dateTimeColumns.
I tried in the designer:
DATEDIFFDAY(Periodo, Data_Pagam), in the designer
I tried with the code:
I keep getting this error:
Invalid Expression:
"Cannot perform '-' operation on System.DateTime and System.DateTime
Please help.
I tried in the designer:
DATEDIFFDAY(Periodo, Data_Pagam), in the designer
I tried with the code:
radGridView1.Columns["Ritardo"].Expression = "Periodo-Data_Pagam";
I keep getting this error:
Invalid Expression:
"Cannot perform '-' operation on System.DateTime and System.DateTime
Please help.