How to set default value in string.format if row["ONEYR" ] is null?
@String.Format("{0:0.00;(0.00)}", row["ONEYR"])
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Feb 27, 2018, 12:22 AM
Nitin SontakkePosted Feb 27, 2018, 12:20 AM
SandyPosted Feb 26, 2018, 11:31 PM
Cynthia SathuragiriPosted Feb 26, 2018, 1:48 AM
Nitin SontakkePosted Feb 26, 2018, 12:59 AM