I'm using VS2013 Entity 5. The situation is as follows:
In a Children table, there is a SexString attribute that receives the value 0, 1. 0 for male and 1 for female. (could use "m" or "f", but it is a learning situation)
In my DataGridView, in the Sex column, the values 0 and 1 then appear. How can I put a condition so that instead of these values, "M" or "F" appear?
dsFilhos.Tables("filhos").Columns("sexoFilho").Expression ="IIF(sexoFilho='0', 'M', 'F')";
I researched calc fields but I was not successful. Thank you for your attention!