The following code can only display the last number:
for (i=0; i<3; i++)
textbox.text({0},i);
But I want to output numbers in textbox like this;
0
1
2
How can I do with it? thx.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a
StringBuilder, like this more or less (pseudocode):Just note: if you are using
WPFavoid direct access to the control properties and operate onViewModelinstead, if not, you loose notable part of the benefits brought to you with that technology.