Results 1 to 4 of 4

Thread: datagrid questions

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    datagrid questions

    Dear All,

    My question are simple:
    1. how to get value of a column of datagrid?
    2. how to disable row sizing of datagrid?

    any prompt reply, would be appreciated .. thanks

    Regards
    Winanjaya

  2. #2
    New Member
    Join Date
    Apr 2004
    Location
    Antwerp
    Posts
    6
    1. to get the information from a cell, use the following code:

    dim strTemp as string
    strTemp = datagrid.Item(0,0) --> (row, column)


    2. no idea

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784
    Thanks for the speedy respon, but how to get the current row no. and also how to get the current col no. .. please advice .. and thanks a lot in advance

    Regards
    Winanjaya

  4. #4
    New Member
    Join Date
    Apr 2004
    Location
    Antwerp
    Posts
    6
    dim nRow, nColumn as integer

    nColumn = DataGrid.CurrentCell.ColumnNumber ()
    nRow = DataGrid.CurrentCell.RowNumber ()


    Gette

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