Clear the contents of txtFirstName, txtLastName and set the focus to txtClientNumber (visual studios 2015) need a code for this plz
Program
Public Class Form1
Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
txtFirstName.Clear() 'clear the txtFirstName textbox
txtLastName.Clear() 'clear the txtLastName textbox
txtClientNumber.Clear() 'clear the txtClientNumber textbox
txtClientNumber.Focus() 'set the focus to txtClientNumber
End Sub
End Class
Ouput ScreenShot:
Get Answers For Free
Most questions answered within 1 hours.