How to diaplay values in HTML tables IN code behind

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vinitha

    How to diaplay values in HTML tables IN code behind

    I have been trying to display a resultset in atable format using the table
    object from the code behind page. Can anyone suggest whether i am in the
    right direction or do we have any other approach for this?

    It will be helpful if some one could point me to some code sample for the
    same

    thank you in advance

    Vinitha


  • gani

    #2
    Re: How to diaplay values in HTML tables IN code behind

    hi Vinitha,
    just use the datagrid object and assign to its datasource your resultset
    (table)

    --
    gani
    pls visit http://thedeveloperscorner.com.ph



    "Vinitha" <vinitha_k@hotm ail.com> wrote in message
    news:uCJPzXjhDH A.1964@TK2MSFTN GP10.phx.gbl...[color=blue]
    > I have been trying to display a resultset in atable format using the table
    > object from the code behind page. Can anyone suggest whether i am in the
    > right direction or do we have any other approach for this?
    >
    > It will be helpful if some one could point me to some code sample for the
    > same
    >
    > thank you in advance
    >
    > Vinitha
    >
    >[/color]


    Comment

    • Nitin

      #3
      How to diaplay values in HTML tables IN code behind

      Hi,

      If you just need to display the data use the Repeater

      control. Besides being easy to use it provides a great way

      to format the way data can be displayed.

      Cheers!!!

      Nitin.
      [color=blue]
      >-----Original Message-----
      >I have been trying to display a resultset in atable[/color]
      format using the table[color=blue]
      >object from the code behind page. Can anyone suggest[/color]
      whether i am in the[color=blue]
      >right direction or do we have any other approach for this?
      >
      >It will be helpful if some one could point me to some[/color]
      code sample for the[color=blue]
      >same
      >
      >thank you in advance
      >
      >Vinitha
      >
      >
      >.
      >[/color]

      Comment

      Working...