Monday, May 30, 2011

Display video in listview, asp.net c#

protected void ListView1_ItemDataBound(object sender, ListViewItemEventArgs e)
{
Panel p = new Panel();
p = (Panel)e.Item.FindControl("panv");
Label lbl = new Label();
string str = "";
HiddenField h = new HiddenField();
h = (HiddenField)e.Item.FindControl("hVideoid");

str = " ";
lbl.Text = str;
p.Controls.Clear();
p.Controls.Add(lbl);


}

No comments:

Post a Comment