Here's my code:
Label mylabel = (Label) Repeater1.FindControl("Fileneym");
StringBuilder vid = new StringBuilder();
vid.Append("..\\video\\").Append(mylabel...
________________________________
everytime I run this I get a null value on mylabel. can somebody help me please? what is it that im getting wrong here?
I'm new to C# and I just need some help on using findcontrol on a repeater.?
Label Label = new label();
mylabel = (Label) Repeater1.FindControl("LabelName");
mylabel.text="mimo";
LabelName : is the name of the label control that is placed inside the datarepeater
wedding florist
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment