BomboBox and Index

good evening group
I’m trying for the first time to “store” two values ​​in the list of a combobox. one value is the visible one (company name) and the other is the one not immediately visible (ID) and to store it I use the RowTag (index).

While Not Rows.AfterLastRow
  ComboBoxNomiFornitori.AddRow(rows.Column("NomeDitta").StringValue)
  ComboBoxNomiFornitori.RowTagAt(contatore)=rows.Column("NomeDitta").StringValue
  contatore=contatore+1
  rows.MoveToNextRow
Wend

I think they are stored for viewing, I wanted to check so I wrote in SelectionChanged of ComboBox:

messagebox Magazzino.ComboBoxNomiFornitori.Text + " ******** " + ComboBoxNomiFornitori.RowTagAt(ComboBoxNomiFornitori.Index)

But nor work. I think that is an Index problem for RowTagAt.
In practice I want to display the name of the company and its index, and when I click on the company, I can also go back to the index associated with the combobox row.

Ok to be fair I won’t delete the post, but while I was writing it I realized that the code could be written like this (and it seems to work)

[code]
ComboBoxNomiFornitori.RowTagAt(ComboBoxNomiFornitori.LastAddedRowIndex)=rows.Column(“NomeDitta”).StringValue
[/code
and

messagebox Magazzino.ComboBoxNomiFornitori.Text + " ******** " + ComboBoxNomiFornitori.RowTagAt(ComboBoxNomiFornitori.SelectedRowIndex)

However, if there are any improvements, please let me know. Thank you.