I have 2 columns bound to a datasource. the first column is a text value and the second column has got currency value. My question is how to format the second column to show only 2 decimals?
Hi,
Use the Format property on the column. For a list of possible formats, check out Microsoft's documentation on the formats for numeric types.
Standard Numeric Format Strings
Custom Numeric Format Strings