Have nice Evening!
I have an error message of "Overflow Exception was Unhanded by User code"when i am trying to exceute below very simple code.
Partial Class zeesant
Inherits System.Web.UI.Page
Dim x As Integer
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
x = (Val(TextBox1.Text) * (Val(TextBox2.Text) / Val(TextBox3.Text))) + Val(TextBox4.Text) * Val(TextBox5.Text)
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox6.Text = x
End Sub
End Class
I hope somebody have solution of my problem.!!