usercontrol

protectedvoid Page_Load(object sender, EventArgs e)
    {
        ((Button)UcA1.FindControl("Button1")).Click +=new EventHandler(PMS_PageA_Click);
    }

    void PMS_PageA_Click(object sender, EventArgs e)
    {
        UcA1.Label1Text = TextBox1.Text;
    }
 
 
posted @ 2012-01-06 17:59  甜菜波波  阅读(120)  评论(0编辑  收藏  举报