Link to home
Create AccountLog in
Avatar of Nobletucky2004
Nobletucky2004

asked on

How do I build a dynamic repeater for a dataset?

I have a dataset that will have a dynamic number of columns and rows and need to display a report based on this data.  What is the best ASP.NET control to use to accomplish this and where can I find info to dynamically create this object (i.e. Repeater)
SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Nobletucky2004
Nobletucky2004

ASKER

Raj..tks for the thread, unfortunately I have to define column names and actually place in a DIV so the report content scrolls on teh page and leaves a sticky header so I don't think a datagrid will work, I wish it would as ti would be the easiest solution.  Essentially I have to create a header with an unknown number of columns and than display a formatted report with n number of rows based on those columns.  The content must scroll since I can only display x amount of items that will fit on a page, and I can't use paging.  I thought about serializing a dataset and a transforming it with xsl, but I would like to stick with a server control if possible.