Question

36. Which of the following shows the correct way to remove leading and trailing spaces from a text box named txtStudentID and assign the result to strStudentID? а.Dim strStudentID as

String strStudentID =txtStudentID b.Dim strStudentID as String strStudentID = txtStudentID.Text c.Dim strStudentID as String strStudentID = RemoveSpaces (txtStudentID.Text) d.Dim strStudentID as String strStudentID = txtStudentID.Text.Trim()

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9