dynamic html vs dynamic formview/detailsView

G

Guest

hey all,
can someone please help me decide on which way to go. i get a single untyped
data table which can contain different fields and values at different times.
so i'm thinking i would dynamically generate the html table which would take
care of displaying the data.

but would it be better or the same to use a formview or detailsview
dynamically?

thanks,
rodchar
 
N

Nicholas Paldino [.NET/C# MVP]

rodchar,

Why not use the DataGrid class in ASP.NET? It will get you most of the
way there, I think. You just have to make sure that the AutoGenerateColumns
property is set to true, and then assign your data source.
 
G

Guest

because this is a detail record.

Nicholas Paldino said:
rodchar,

Why not use the DataGrid class in ASP.NET? It will get you most of the
way there, I think. You just have to make sure that the AutoGenerateColumns
property is set to true, and then assign your data source.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

rodchar said:
hey all,
can someone please help me decide on which way to go. i get a single
untyped
data table which can contain different fields and values at different
times.
so i'm thinking i would dynamically generate the html table which would
take
care of displaying the data.

but would it be better or the same to use a formview or detailsview
dynamically?

thanks,
rodchar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top