Hi,
I just started learning VB.NET. I have designed a simple form and two text boxes and 5 buttons includines one exit button.
On clicking one button, some text needs to be displayed on the text boxes. I was trying to assign that text into the text property of the textboxes.
I was getting an error message there saying that "expression expected".
PrivateSub customerrelationsButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles customerrelationsButton.Click
telephonenumberTextbox.text = '626-500-1111'
departmentcontactTextbox.Text = 'Tricia Mills'
EndSub
Could you let me know what could be the problem here? Also please let me know if you require more information for this.
I just started learning VB.NET. I have designed a simple form and two text boxes and 5 buttons includines one exit button.
On clicking one button, some text needs to be displayed on the text boxes. I was trying to assign that text into the text property of the textboxes.
I was getting an error message there saying that "expression expected".
PrivateSub customerrelationsButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles customerrelationsButton.Click
telephonenumberTextbox.text = '626-500-1111'
departmentcontactTextbox.Text = 'Tricia Mills'
EndSub
Could you let me know what could be the problem here? Also please let me know if you require more information for this.