PDA

View Full Version : Get the value of control in datalist


creativegenius
10-16-2009, 08:58 PM
I am trying to get the value of a label in datalist and use the value from the label as a <embed src value> control thats also in the datalist


Dim lb2 As HtmlGenericControl = DirectCast(dl.FindControl("play"), HtmlGenericControl)



lb2.Attributes("src") = DirectCast(dl.FindControl("label1"), Label).Text