No no i am not using this for an e-testing software.
Thanks all the same tuse. You are a great guy
U know talking about another way, I had this idea of generating guids then picking out 16 characters and then changing the alphabets to their numeric equivalents. Then save the results in a database table with the number being the primary key trusting the database to throw out duplicates if any.
Now how's that
what's your take?
Try this-
Just generate 16 x 40 numbers random numbers using the code. If you want it in the range as said, find the remainder of the generated random numbers on division by 10. Then split this one dimensional array into the matrix you need.
------
Hopefully you will get as you need.
But by no means is this the best way to go. There might (must) be a better way.
------
Are you using this for an online test application?