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.
Jorn TheunissenPosted Oct 12, 2009, 8:24 AM
Kirtan PatelPosted Oct 12, 2009, 8:00 AM
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i <= 50; i++)
{
label1.Text += i + "+" + (i + 1) + "=" + i + (i + 1)+"\n";
}
}
Roei BarPosted Oct 12, 2009, 7:48 AM
on each line write down the "Added A+B: "