与Load Form2等效的语句是()。
A、A.Form2.Load
B、B.Form2.Visible=False
C、C.Form2.Show
D、D.Form2.Visible=True
A、A.Form2.Load
B、B.Form2.Visible=False
C、C.Form2.Show
D、D.Form2.Visible=True
A、protected void Page_Load(object sender, EventArgs e) { Control userControl=Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl); } B、protected void Page_Load(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); } C、protected void Page_PreInit(object sender, EventArgs e) { Control userControl =Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl); } D、protected void Page_PreInit(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }