你可能喜欢
单项选择题
A.<%: Model.FirstName %>
B.<%= Model.FirstName %>
C.<% Response.Write(Model.FirstName) %>
D.<% Response.Write(HttpUtility.HtmlDecode(Model.FirstName)) %>
单项选择题
A.Html.ActionLink("Home", "Index", "Home")
B.Html.ActionLink("Home", "Index", "Home", new {area = ""}, null)
C.Html.ActionLink("Home", "Index", "Home", new {area = "Blog"}, null)
D.Html.ActionLink("Home", "Index", "Home", new {area = "Home"}, null)
多项选择题
A.Replace line 3 with the following code segment. if (FileUpload1.HasFile)
B.Replace line 3 with the following code segment. if (FileUpload1.FileContent.Length > 0)
C.Insert the following code segment at line 6. FileUpload1.SaveAs(saveName);
D.Insert the following code segment at line 6. FileUpload1.FileContent.CopyTo(new FileStream(saveName, FileMode.Open);
单项选择题
A.PlaceHolder
B.ContentPlaceHolder
C.Content
D.Substituition
多项选择题
A.Use an ObjectDataSource control and set its TypeName property to System.Data.SqlClient.SqlConnection.
B.Use a SqlDataSource control and configure its ConnectionString in the web.config file.
C.Use an XmlDataSource control together with an Xml control that represents the database.
D.Use a LinqDataSource control with entity classes that represent the elements in the database.
单项选择题
A.Set the DataPager control’s PageSize property to the number of rows to view at one time.
B.Set the DataPager control’s PagedControlID property to the ID of the ListView control.
C.In the code-behind file, set the DataPager control’s Parent property to the ListView control.
D.In the code-behind file, set the ListView control’s Parent property to the DataPager control.
单项选择题
A.RowDataBound
B.RowCommand
C.RowUpdated
D.RowEditing
单项选择题
A.the XCOPY command-line tool
B.the Copy Web Site tool
C.the Web Deployment tool
D.the Publish Web Site utility
多项选择题
A.Set the Debug attribute of the compilation node of the web.config file to true.
B.Add a DebuggerDisplay attribute to the code-behind file of the page that you want to debug.
C.Select the ASP.NET debugger option in the project properties.
D.Define the DEBUG constant in the project settings.
单项选择题
A.<location path="Premium.aspx"> <system.web> <authorization> <allow users="Subscribers"/> <deny users="*"/> </authorization> </system.web> </location>
B.<location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/> <deny users="*"/> </authorization> </system.web> </location>
C.<location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/> <deny users="?"/> </authorization> </system.web> </location>
D.<location path="Premium.aspx"> <system.web> <authorization> <deny users="*"/> <allow roles="Subscribers"/> </authorization> </system.web> </location>