How do I do this?

Choice 1 : In code using ADO where you got the data from in the first place.