M
Mike Gleason jr Couturier
Hi,
I display a list of users (my SELECT contains the name and the ID of the
users) in a DataGrid.
The users display fine (single column).
On the SelectedIndexChanged event, I want to retreive the user ID.
Is there a way to attach the user ID on a particular row ?
I already tried to display the ID on a second column and get the ID by doing
:
GridViewUsers.SelectedRow.Cells[1].Text
But I don't want the ID to be displayed... I'm looking for other
alternatives.
Thanks!
I display a list of users (my SELECT contains the name and the ID of the
users) in a DataGrid.
The users display fine (single column).
On the SelectedIndexChanged event, I want to retreive the user ID.
Is there a way to attach the user ID on a particular row ?
I already tried to display the ID on a second column and get the ID by doing
:
GridViewUsers.SelectedRow.Cells[1].Text
But I don't want the ID to be displayed... I'm looking for other
alternatives.
Thanks!