Results 1 to 6 of 6

Thread: Grid - Determining Number of Rows

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    New Zealand
    Posts
    78

    Grid - Determining Number of Rows

    I'm using a grid (SSUltraGrid) to display a query result and then I'm writing the values inside the grid into a String seperated by returns and then writing it into the database.

    The problem I'm finding is that I need to know the number of rows so that I can loop through all the cells as the query result isn't going to always have the same number of rows. How can I determine the number of rows in a grid? With the attached graphic it has 5 rows and I can successfully read that into a string by making the loop from 1 to 5 but I need it to be dymanic.

    Also, when I write to the database with it seperated by returns I need to be able to re-open it displaying the results in the grid. Again, I would need to know the number of rows so I can loop through correctly.

    Does anyone have any ideas?
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width