Hello I have a bound field in gridview, which I am formating it to show as a percentage. Everything works good, but when the column have null values it is throwing error. Could yo please let me know a way to address the null values.
<asp:BoundField DataField="ip_per" SortExpression="ip_per" DataFormatString="{0.0%}" />
You may set
NullDisplayText.