Displaying variabeles in a table/form
HI,
I'm practising with C# and I'm stuck with a problem. I'm trying to make this sum generator. The sums are made correct. However I do not know how to display them in a good way. When I for example have 50 sums, a simple message box wont suffice.
My question is how can I display those sums in a good way on some kind of form or in a table?
Any direction is apreciated
Thanks in advance.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Roei BarRank #1,271 · 1.4K reputationPosted Oct 12, 2009, 3:48 AM EDT
on each line write down the "Added A+B: "
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 12, 2009, 4:00 AM EDT
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i <= 50; i++)
{
label1.Text += i + "+" + (i + 1) + "=" + i + (i + 1)+"\n";
}
}
Jorn Theunissen7 reputationPosted Oct 12, 2009, 4:24 AM EDT