Use a class to store row data, and allow lookup via index or header cell value.
Update example code.