how to get sum of two numbers in vb.net?

Answer Posted / prashant

windows form application vb.net

Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
Dim a As Integer
Dim b As Integer
Dim c As Integer
a = Convert.ToInt32(Me.TextBox3.Text)
b = Convert.ToInt32(Me.TextBox11.Text)
c = a * b
TextBox13.Text = c
End Sub

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the objects in asp.net?

547


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

571


What is jagged array in vb.net?

639


Write the role of new keyword?

615


Can you please explain the difference between int and int32?

568






Is vb.net a programming language?

540


described weak typing?

591


What is public assembly?

574


What is econo-jit?

617


How to store decimal data in .net?

645


How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently

2004


Explain private assembly?

513


Explain nested classes?

561


Explain the difference between vb 6 and vb.net?

543


thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net

1706