M
Maria
Hello !
I'm a newbie trying to learn something about asp.net. To start with
something easy I made a page that convert from Celsius to Fahrenheit.
The code :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim x As Double = ((Double.Parse(Me.txtCelsius.Text, NumberStyles.Any) *
1.8) + 32)
Me.txtFarenheit.Text = CType(x, String)
End Sub
But when I try to open the page on the remote server I get this error :
FormatException: Input string was not in a correct format.
I have search the net - but only found info about database and sql.
Can someone guide me in the right direction ??
Maria
I'm a newbie trying to learn something about asp.net. To start with
something easy I made a page that convert from Celsius to Fahrenheit.
The code :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim x As Double = ((Double.Parse(Me.txtCelsius.Text, NumberStyles.Any) *
1.8) + 32)
Me.txtFarenheit.Text = CType(x, String)
End Sub
But when I try to open the page on the remote server I get this error :
FormatException: Input string was not in a correct format.
I have search the net - but only found info about database and sql.
Can someone guide me in the right direction ??
Maria