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??