I have a table object and I want to render it as html into a string. I've been looking at htmltextwriters etc but a touch confused.

Any help appreicated :]