Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5. You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01 02 Category: 03 04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09 10 You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04. What should you identify?()
A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment.
B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment.
C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment.
D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.
A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment.
B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment.
C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment.
D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.
举一反三
- ou are the newly appointed system administrator at Certkiller.com. A former administratorcreated a Microsoft ASP.NET Web application using Microsoft .NET Framework v3.5. You are responsible for maintaining the Web application. You use the source control repository toacquire the most recent version of the project. As soon as you attempt to compile the project onyour workstation you notice that the assembly reference is missing. To ensure productivity youneed to make sure that you are able to compile the project on your workstation. What should you do?() A: Your best option would be to ensure that the assembly reference is deleted.Thereafter you need to add a reference to the missing assembly. B: Your best option would be to ensure that a reference path in the property pages of the project isadded to the location of the missing assembly. C: Your best option would be to ensure that a working directory in the property pages of theproject is added to the location of the missing assembly. D: Your best option would be to ensure that the output path in the property pages of the project ischanged to the location of the missing assembly.
- Certkiller.com has employed you as a system administrator. You are in the process of creating anASP.NET application using Microsoft.NET Framework v3.5. This application will be hosted on aserver named CERTKILLER-SR01. CERTKILLER-SR01 is configured to run Microsoft IIS 5.0. You are assigned a computer named CERTKILLER-WS02. You make use of CERTKILLER-WS02to log on to the companies domain with an account named CKUser. CERTKILLER-SR01 andCERTKILLER-WS02 are both members of the Certkiller.com domain. To ensure productivity youneed to establish the necessary permissions to allow remote debugging. What should you do?() A: Your best option would be to ensure that the Remote Debugging Monitor is set to make use ofWindows Authentication. B: Your best option would be to ensure that the CKUser account is added to the domainAdministrators group. C: Your best option would be to ensure that the AS D: NET worker process is changed onCERTKILLER-SR01 to run as the local Administrator account. E: Your best option would be to ensure that the CKUser account is added to the localAdministrators group on CERTKILLER-SR01.
- Certkiller.com has hired you as a system administrator for their network. The Certkiller.comnetwork consists of a Microsoft ASP.NET Framework v1.0 application. The current application is configured to run Microsoft IIS 6.0. The current application is not usingany of the features that are deprecated in Microsoft .NET Framework v3.5. You receive an instruction from management to configure the application to use ASP.NET Framework v3.5. Youneed to achieve this without recompiling the application. What should you do?() A: A B: B C: C D: D
- You are the newly appointed Web Application Developer at Certkiller.com. You make use ofMicrosoft .NET Framework v3.5 to create a Microsoft ASP.NET application. You create a page on the application that contains the code segment below:<asp:ListBox ID="lstBox1"AutoPostBack="true" runat="server" /> The page contains a code-behind file. The code below is written in the file:Private Sub BindData(ByVal sender As Object, ByVal e As EventArgs) lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures)lstLanguages.DataTextField = "EnglishName"lstLanguages.DataBind()End Sub You receive an instruction from management to make sure that lstBox1 ListBox control retains theselection of the Certkiller client during postback. You thus need to determine the appropriate codethat should be added in the constructor of the page. What should you do?() A: You should consider adding AddHandler lstLanguages.SelectedIndexChanged, AddressOfBindData to the constructor of the page. B: You should consider adding AddHandler Me.Init, AddressOf BindData to the constructor of thepage. C: You should consider adding AddHandler Me.PreRender, AddressOf BindData to theconstructor of the page. D: You should consider adding AddHandler lstLanguages.PreRender, AddressOf BindData to theconstructor of the page.
- You are employed as a system administrator at Certkiller.com. You decide to create an ASP.NETWeb application on the companies’ network. You do this using Microsoft .NET Framework v3.5. You are in the process opf planning the establishing authentication for the Web application. Youneed to make sure that the application is able to support clients from untrusted domains. However,unknown clients should not be able to access the application. What should you do?() A: A B: B C: C D: D