I seem to be very close to an answer but this is getting me.
Windows form - VS2010 - C#
The first problem is that I'm dealing with tabulated data in the wrong kind of control but I'm stuck for output options (3rd party)
I have to out a grid of info
that is basically an hourly rate * hours worked (for the purpose of the question I've kept the numbers basic)
The code shows what I have and the image shows what I'm trying to output
Problem being that I only want to have the start of each row show the x hrs/wk and need a new line after each dollar value has been outputted.
int hoursPerWeek, payRate;
for (payRate = 5; payRate <= 10; payRate++)
for (hoursPerWeek = 10; hoursPerWeek <= 20; hoursPerWeek++)
string prefix = hoursPerWeek + " hrs/week: ";
prefix = "";
memo.AppendText((hoursPerWeek * payRate) + "\t\t");
if (payRate == 10)