find control in panel in datalist
<p>I had Datalist and inside it panel and inside panel label and I want to find label inside panel inside datalist.I did my code but it didnot work well</p>

<p>
protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e)
    {</p>

<pre><code>    Label LblHead = e.Item.FindControl("Label1") as Label;
    string LanguageID = Globals.GetSuitableLanguage(Page);

    if (LanguageID == "ar")
    {
        LblHead.Attributes.Add("CssClass", "hed_logo2");
    }
       }
</code></pre>
