Hi,
I have the following code in #c, which I know nothing about.
btnBack.Text = (backPrice1 <> 0.0) ? backPrice1.ToString()
: String.Empty()
I am trying to convert the above line into vb.net.
Would the code below be correct?
If (backPrice1 <> 0.0) Then
btnBack.Text = backPrice1.ToString
Else
btnBack.Text = ""
End If
Thanks,
Boulent
I have the following code in #c, which I know nothing about.
btnBack.Text = (backPrice1 <> 0.0) ? backPrice1.ToString()
: String.Empty()
I am trying to convert the above line into vb.net.
Would the code below be correct?
If (backPrice1 <> 0.0) Then
btnBack.Text = backPrice1.ToString
Else
btnBack.Text = ""
End If
Thanks,
Boulent