G
Gary Frank
I added a couple of labels and a button to a Datalist control called
"dlSignIn" by adding them to the Item template. The labels are bound to a
dataset column. Program code gets executed in the
dlSignIn_SelectedIndexChanged subroutine when I click the button in the
datalist. And the dlSignIn.SelectedIndex property has the correct index for
the Datalist row that was selected. Now I would like to access the values
in the labels of that row. I think I could do it indirectly by reading the
values in the corresponding row of the dataset which is the datasource. But
is there a way to directly access the values from the controls within the
Datalist control?
"dlSignIn" by adding them to the Item template. The labels are bound to a
dataset column. Program code gets executed in the
dlSignIn_SelectedIndexChanged subroutine when I click the button in the
datalist. And the dlSignIn.SelectedIndex property has the correct index for
the Datalist row that was selected. Now I would like to access the values
in the labels of that row. I think I could do it indirectly by reading the
values in the corresponding row of the dataset which is the datasource. But
is there a way to directly access the values from the controls within the
Datalist control?