Hi,
I have this visual basic 2008 code question. The code is
Dim Y As String = InputBox("Do You like" & txtInput.Text & " n For No and y for Yes")
The question iss are
when the above code is executed, an inputbox will appear and show the following message if the textbox (txtInput) has nothing in its text property: I put none
The second question is what value will be assignd to y if some user has type "n" n the input box and clicked the inputbox ok?
Thanks
I have this visual basic 2008 code question. The code is
Dim Y As String = InputBox("Do You like" & txtInput.Text & " n For No and y for Yes")
The question iss are
when the above code is executed, an inputbox will appear and show the following message if the textbox (txtInput) has nothing in its text property: I put none
The second question is what value will be assignd to y if some user has type "n" n the input box and clicked the inputbox ok?
Thanks