单项选择题
You have a login.ascx control and to display it in a view which method u would use()
A.http.display
B.http.partial
C.http.load
D.http.get
相关考题
-
单项选择题
YouaredevelopingaAsp.netwebapplicationthtincludesapanelcontrolthathasIDcontentsection.YouneedtoaddatextBoxcontroltothepanelcontrol.()
A.this.RequireControlState(this.LoadControl(typeof(TextBox),null));
B.this.ContentSection.control.add(this.FindControl(ContentSection.ID + "asp:TextBox"));
C.this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));
D.this.LoadComplete("asp:TextBox").IntiantiateIn(Content Section) -
单项选择题
Youareperfomingsecuritytestingonanexistingasp.netwebpage.Younoticethatyouareabletoissueunauthorisedpostbackrequeststothepage.Youneedtopreventunauthorisedpostbackrequests.whichpagedirectiveyouuse?()
A.<%@Page strict = "true" %>
B.<%@Page enableViewStateMac = "true" %>
C.<%@Page EnableEventValidation = "true" %>
D.<%@Page Aspcompact = "true" %> -
单项选择题
The page will be posted to the server after one or more image files are selected for upload.You need to ensure that all unuploaded files are saved to the server within one call to a single event handler. What should you do? ()
A.Read the HttpRequest.Files property and call the HttpPostedFile.SaveAs method for each file.
B.Read the HttpRequest.inputStream property and call the System.Io.File.WriteLines method for each file.
C.Read the HttpRequest.inputStream property and call the HttpResponse.WriteLine method for each file.
D.Read the HttpRequest.Files property and call the System.Io.File.WriteLines method for each file.
