2
Answers

Display information

Ask a question
danny212

danny212

19y
3.6k
1
I have information held in an array and want my ASP.NET C# web application to go through the array and display the info line by line. They way I have tried currently is to create a while loop as follows: while (i<10) { Label1.Text = myResults[i]; i++; } However, obviously the label gets overwritten each time the loop runs. What would I use to output each section of the array as a list??

Answers (2)