Dim SecondName As String = SecondNameTxtBox.text()
Is the above statement a correct one?
Here I want to assign the value of the text box into tat "SecondName". If it's wrong, please tell me the correct way to write this statement.
Dim SecondName As String = SecondNameTxtBox.text()
Is the above statement a correct one?
Here I want to assign the value of the text box into tat "SecondName". If it's wrong, please tell me the correct way to write this statement.
No, it is not correct. SecondNameTxtBox.Text
is a property, not a method, so leave off the parentheses.