题目内容

选中层之后,可以在属性面板中调整层的显示属性。其中表示层总是隐藏的选项是()

A. Default
B. inherit
C. visible
D. hidden

查看答案
更多问题

YouaredevelopingaWindowsCommunicationFoundation(WCF)servicethatallowscustomerstoupdatefinancialdata. Theservicecontractisdefinedasfollows.(Linenumbersareincludedforreferenceonly) 01[ServiceContract] 02publicinterfaceIDataUpdate 03{ 04[OperationContract] 05[TransactionFlow(TransactionFlowOption.Mandatory)] 06voidUpdate(stringaccountNumber,doubleamount); 07} 08 09classUpdateService:IDataUpdate 10{ 11[OperationBehavior(TransactionScopeRequired=true,TransactionAutoComplete=false)] 12publicvoidUpdate(stringaccountNumber,doubleamount) 13{ 14... 15} 16} 17 Youneedtoensurethattheserviceisinvokedwithinthetransaction. Whatshouldyoudo?()

A. Replaceline01withthefollowingcode[ServiceContract(SessionMode=SessionMode.NotAllowed)]
B. Replaceline01withthefollowingcode[ServiceContract(SessionMode=SessionMode.Required)]
CalltheInvokemethodoftheformandsupplyadelegate.
D. CalltheBeginInvokemethodoftheformandsupplyadelegate.

关于网页中头部标签,说法错误的是()

A. 头部信息指包含在一对头部标签内的信息
B. 包含在头部之间的内容不会在浏览器中显示出来
C. 关键字设置属于头信息内容
D. 页面属性的设置属于头信息内容

ou create a page in an ASP.NET Web application. The page retrieves and displays data from a Microsoft SQL Server database. You need to create a data source that can connect to the database. What are two possible ways to achieve this goal?()

A. Use an ObjectDataSource control and set its TypeName property toSystem.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.

You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()

A. PlaceHolder
B. ContentPlaceHolder
Content
D. Substituition

答案查题题库