Hello,
Bit of a newbie here.
I have an .aspx page with FormView data control that uses a table to organize the label controls.
I want to pass the value from the current value the label displays to a variable on the code behind.
I have assigned the label an ID; as an example "lbl_TestLabel"
I am having trouble with the syntax. I assumed it would be something like:
strVariable = Me.lbl_TestLabel.value
Regardless, the label ID is not recognized. I get an alert that the ID I provided is not a member of the page.
I feel that this should be something simple, or am I completely off track?
Thanks in advance.
Bit of a newbie here.
I have an .aspx page with FormView data control that uses a table to organize the label controls.
I want to pass the value from the current value the label displays to a variable on the code behind.
I have assigned the label an ID; as an example "lbl_TestLabel"
I am having trouble with the syntax. I assumed it would be something like:
strVariable = Me.lbl_TestLabel.value
Regardless, the label ID is not recognized. I get an alert that the ID I provided is not a member of the page.
I feel that this should be something simple, or am I completely off track?
Thanks in advance.