I'm trying to format a number in ReportViewer
and I'm not getting it, so I'm trying to use the Format
function of TextBox
in ReportViewer
. The number is a code and I'm trying to fill it with 3 leading zeros. I'm trying like this: =FormatNumber(Fields!terminal.Value.codigo, String.Format("{N:000}"))
, but it's not working. How to do this?