i made two text boxes and a button in windows form application VS2010
in that i enter a value ex: "24" in first text box
when i press the button the ouput should come as 2+4 ="6" i.e 6 should come as out put in second text box how can i do that .please tell me the logic in code format . i tried this but stuck in implementing logic
please tell me the code !!!!Code:Public Class Form1 Private Sub KryptonButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles KryptonButton2.Click Dim ftn as integer dim stn as integer ftn = TextBox1.Text stn= val(ftn) stn = TextBox2.Text End Sub End Class




Reply With Quote