c# 4.0 - C# Loops, the input value of a textbox -


i'm newbie here , confuse c#.

here question must value user input on textbox , loop value textbox have, example textbox have 5 answer on label , must 12345.

it not loop, when execute program result input value on textbox

int intloop; (intloop = 0; intloop <= convert.toint32(txtevaluate.text); intloop++) {     lblloop.text = intloop.tostring(); } 

try appending loop's iterator textbox using +=:

 lblloop.text = string.empty;  (int intloop = 1; intloop <= convert.toint32(txtevaluate.text); intloop++)  {      lblloop.text += intloop.tostring();  } 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -