单项选择题
A.<%@ OutputCache Duration="300" Shared="true" VaryByParam="None" %> B.<%@ OutputCache Duration="5" VaryByParam="None" %> C.<%@ OutputCache Duration="5" Shared="true" VaryByParam="None" %>
你正在创建一个自定义服务器控件,并且你需要此控件支持在Visual Studio 2005设计器中使用。为此,...
单项选择题你正在创建一个自定义服务器控件,并且你需要此控件支持在Visual Studio 2005设计器中使用。为此,你创建了两个类:一个是从Composite Control继承的myControl类,另一个是从Composite ControlDesigner继承的myControlDesigner类。你需要把myControl和myControlDesigner进行关联。下面那一个可以正确达到此目的?()
A.[Designer(myControlDesigner)] public class myControl: CompositeControl B.[Designer(typeof(myControl))] public class myControlDesigner: CompositeControlDesigner C.[Designer(myControl)] public class myControlDesigner: CompositeControlDesigner D.[Designer(typeof(myControlDesigner))] public class myControl: CompositeControl
你正在创建一个skin文件,它用来格式化Label控件的为蓝色文本、TimesNewRoman字体。你应该使用...
单项选择题你正在创建一个skin文件,它用来格式化Label控件的为蓝色文本、TimesNewRoman字体。你应该使用下面那一个skin文件?()
A.<asp:Label BackColor="White" ForeColor="Blue" Font-Name="Times New Roman"Font-Size="10px" /> B.<asp:Label runat="server" ID="BlueLabel" BackColor="White" ForeColor="Blue"Font-Name="Times New Roman" Font-Size="10px" /> C.<asp:Label ID="BlueLabel" BackColor="White" ForeColor="Blue" Font-Name="Times New Roman" Font-Size="10px" /> D.<asp:Label runat="server" BackColor="White" ForeColor="Blue"Font-Name="Times New Roman" Font-Size="10px" />
你正在创建一个使用自定义 Web 部件的 ASP.NET Web 应用。你希望用户能够编辑自定义 Web部件的...
单项选择题你正在创建一个使用自定义 Web 部件的 ASP.NET Web 应用。你希望用户能够编辑自定义 Web部件的属性。你应该使用那一个类?()
A.AppearanceEditorPart B.BehaviorEditorPart C.PropertyGridEditorPart D.LayoutEditorPart