A
Andrew Kidd
Hi,
Sorry if this has been asked before, but I'm stumped.
I need to present a table of data on a web page, with the records presented
in a random order. My thinking is as follows:
1 - read the records into a data set
2 - add a new column to the data set
3 - iterate through the dataset, assigning a random numeric value to each
record
4 - sort the dataset by this random field
5 - bind the dataset to the table
Or have I just lost the plot?
Thanks in advance,
Andy
Sorry if this has been asked before, but I'm stumped.
I need to present a table of data on a web page, with the records presented
in a random order. My thinking is as follows:
1 - read the records into a data set
2 - add a new column to the data set
3 - iterate through the dataset, assigning a random numeric value to each
record
4 - sort the dataset by this random field
5 - bind the dataset to the table
Or have I just lost the plot?
Thanks in advance,
Andy