Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Ibthaj Mansour   on Sep 16 In Asp.net Category.

  
Question Answered By: Lela Lynch   on Sep 16



ArrayList ar = new ArrayList();

ar.Add(Label1);

ar.Add(Label2);

Label1.Controls.Add(DirectionMap);

Label2.Controls.Add(DirectionStore);



foreach (Control c in ar)

{

System.Web.UI.WebControls.Image d =
(System.Web.UI.WebControls.Image)c.Controls[0];

Response.Write(d.ImageUrl.ToString());

}

Share: