Jun 30, 2005 #1 K KingAce Member Joined Jun 26, 2005 Messages 7 How can I find the last row in a datatable through code? For example, lets say in table "TBL" there are the records ID Name 1 Name1 2 Name2 3 Name3 Through code, how can I find Name3 (without knowing that there are only 3 rows in the datatable)? TIA
How can I find the last row in a datatable through code? For example, lets say in table "TBL" there are the records ID Name 1 Name1 2 Name2 3 Name3 Through code, how can I find Name3 (without knowing that there are only 3 rows in the datatable)? TIA
Jun 30, 2005 #2 samsmithnz Well-known member Joined Jul 22, 2003 Messages 1,038 Location Boston Code: datatable.rows(datatable.rows.count-1).item("name").tostring