dynamic html vs dynamic formview/detailsView - CSharp

This is a discussion on dynamic html vs dynamic formview/detailsView - CSharp ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

dynamic html vs dynamic formview/detailsView

  1. Default dynamic html vs dynamic formview/detailsView

    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

  2. Default Re: dynamic html vs dynamic formview/detailsView

    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]
    - mvp@spam.guard.caspershouse.com

    "rodchar" <rodchar@discussions.microsoft.com> wrote in message
    news:09761983-E004-4581-A685-CEB4E8DA1494@microsoft.com...
    > 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




  3. Default Re: dynamic html vs dynamic formview/detailsView

    because this is a detail record.

    "Nicholas Paldino [.NET/C# MVP]" wrote:

    > 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]
    > - mvp@spam.guard.caspershouse.com
    >
    > "rodchar" <rodchar@discussions.microsoft.com> wrote in message
    > news:09761983-E004-4581-A685-CEB4E8DA1494@microsoft.com...
    > > 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

    >
    >
    >


+ Reply to Thread

Similar Threads

  1. Dynamic ReadOnly in DetailsView
    By Application Development in forum DOTNET
    Replies: 3
    Last Post: 01-28-2008, 03:39 PM
  2. dynamic formview
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 11-21-2007, 07:40 PM
  3. static html vs dynamic aspx
    By Application Development in forum DOTNET
    Replies: 2
    Last Post: 07-08-2007, 09:51 AM
  4. Help: Serializing dynamic class in dynamic web service proxy
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 09-21-2006, 12:06 AM
  5. Dynamic validation on dynamic form objects in ASP.NET
    By Application Development in forum CSharp
    Replies: 1
    Last Post: 04-04-2005, 09:51 AM