Table Rows

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

    Table Rows

    All,

    I can only add one row to a Table control. Is there a property that
    restricts adding multiple rows? I've tried several different ways.
    I've gotten to the point where I can add the information I need for
    the second row but it only replaces the original info from the first
    row, resulting in still only one row.

    Thanks
  • David Wier

    #2
    Re: Table Rows

    How exactly are you trying to do this, in code, based on populating from
    database?
    (show us how you're trying to do it)

    David Wier

    http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
    bloated markup


    "Looch" <lucianoj2005@y ahoo.comwrote in message
    news:22db0303-349e-4e5e-a6f9-003c3cde7333@62 g2000hsn.google groups.com...
    All,
    >
    I can only add one row to a Table control. Is there a property that
    restricts adding multiple rows? I've tried several different ways.
    I've gotten to the point where I can add the information I need for
    the second row but it only replaces the original info from the first
    row, resulting in still only one row.
    >
    Thanks

    Comment

    • Looch

      #3
      Re: Table Rows

      I was going to address that once I got past the row adding hurdle,
      I've been stuck on that for about a day now...

      Comment

      • Andrew Morton

        #4
        Re: Table Rows

        Looch wrote:
        ItemTable.Rows. Add(row);
        Try

        ItemTable.Rows. Add(row.Clone);

        otherwise you're always adding a /reference/ to the same variable rather
        than the data in that variable.

        Andrew


        Comment

        Working...