Hi the below is my place holder problem.
The output for this program is HiaSD.
But i ve added three controls to placeholder. what is the problem
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Default4 : System.Web.UI.Page
{
Label lb;
protected void Page_Load(object sender, EventArgs e)
{
lb = new Label();
lb.Text = "Hi";
PlaceHolder1.Controls.Add(lb);
PlaceHolder2.Controls.Add(lb);
lb.Text = "HiaSD";
PlaceHolder3.Controls.Add(lb);
}
}
---------------------------------
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Yahoo! Personals
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/