对象对未添加到引用?
public static void ShowMsg(System.Web.UI.Page myPage){
Label myLable = (Label)pg.Master.FindControl("Test");
}
请问这个为什么会提示对象未添加到引用呢?我的Label 在MasterPage里面 --------------------编程问答-------------------- 要指定Master的索引
补充:.NET技术 , ASP.NET
补充:.NET技术 , ASP.NET