<font color=red> Problem solved. Set a div with runat="server" and loop thru the dataset with stingbuilder.append and set the content to the div as divID.InnerHTML=stringbuilder.toString </font color=red>

I'm trying to make the data display as compact as possible so thought to use response.write (data) & "" instead of using a gridview or detail view. this sort of works (I can get something out of the DataTable) but the output is from the top of the page, which is not what I want.

Any ideas?