Tables in VS2005

Discussion in 'ASP .Net' started by Frank Rizzo, Nov 19, 2005.

  1. Frank Rizzo

    Frank Rizzo Guest

    Hello,

    I am new to ASP.NET and my question, I suspect, is a simple one. I want
    to implement comments for an article. A single comment consists of a
    table with 2 rows in it (author info and the comment text). Some
    articles will have many comments. What server side control could I use
    to implement this type of functionality?

    If I remember correctly in classic asp you just built the html for your
    tables and did Response.Write. I suppose I could do the same thing
    here, but that's probably not in the spirit of asp.net. Anyway, what is
    the right approach here?

    Thanks
     
    Frank Rizzo, Nov 19, 2005
    #1
    1. Advertising

  2. Frank Rizzo

    clintonG Guest

    Look at the Repeater control or a DataList control.

    <%= Clinton Gallagher
    METROmilwaukee (sm) "A Regional Information Service"
    NET csgallagher AT metromilwaukee.com
    URL http://metromilwaukee.com/
    URL http://clintongallagher.metromilwaukee.com/


    "Frank Rizzo" <> wrote in message
    news:...
    > Hello,
    >
    > I am new to ASP.NET and my question, I suspect, is a simple one. I want
    > to implement comments for an article. A single comment consists of a
    > table with 2 rows in it (author info and the comment text). Some articles
    > will have many comments. What server side control could I use to implement
    > this type of functionality?
    >
    > If I remember correctly in classic asp you just built the html for your
    > tables and did Response.Write. I suppose I could do the same thing here,
    > but that's probably not in the spirit of asp.net. Anyway, what is the
    > right approach here?
    >
    > Thanks
     
    clintonG, Nov 20, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason Kendall
    Replies:
    1
    Views:
    1,531
    Ed Kaim [MSFT]
    Jul 4, 2004
  2. Peter Bassett
    Replies:
    3
    Views:
    931
    Augustus
    Aug 15, 2003
  3. Otuatail

    Tables within tables

    Otuatail, Jul 31, 2004, in forum: HTML
    Replies:
    7
    Views:
    498
  4. Chris Brat
    Replies:
    5
    Views:
    698
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
  5. tshad
    Replies:
    0
    Views:
    272
    tshad
    Sep 24, 2007
Loading...

Share This Page