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:
radGridView1.Columns["Ritardo"].Expression = "Periodo-Data_Pagam";
I keep getting this error:
"Cannot perform '-' operation on System.DateTime and System.DateTime