A non repeating sequence of numbers (HARD)

Ok, so basically, I have a graph

I need to loop a generate a non repeating code from 1 - 20

And I need to do that across 10 columns, and down 19 rows…

an example is this site

http://www.devenezia.com/downloads/round-robin/rounds.php select “balanced” as the algorithm and table as the format, and select for 20 players, that what I need, his is pre-set, I need to generate random numbers across 10 columns down 19 rows

I can’t even get a simple non repeating sequence with 10 numbers, yet alone doing something like this, so I need help badly

My Program (To view the graph, click add profile 20 times, then go to round robin, and enter 20 players)

http://www.4shared.com/file/12568127/bd664228/Mike_Program.html

Question 1: Is this possible, or is better to spend 3 days laying out 2 - 3 arrays with those options in it, and pick a random one each click (Honestly I dont want this option to lay it out in an array by hand i’d rather generate the code by Actionscript)

(Any questions just post i’ll reply asap)
Any help appreciated…