I have a statement written in access query and I want to convert it to be applied on SQL Database or on ASP.Net
Access Statement:
Toal paid : IIf([TP$]>0,(Format([TP$],'Fixed') & ' $')) & IIf([TPU]>0,(Format([TPU],'Fixed') & ' Euro')) & IIf([TP$]+[TPU]=0,0)
The result is a column as following
30 $
250 Euro
20 $
How I can apply it in asp.net
Thanks;