可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are implementing&#8194


You are implementing an ASP.NET Web site that will be accessed by an international audience. The site contains global and local resources for display elements that must be translated into the language that is selected by the user. You need to ensure that the Label control named lblCompany displays text in the user’s selected language from the global resource file. Which control markup should you use?()

  • A<asp:Label ID="lblCompany" runat="server" meta:resourcekey="lblCompany" />
  • B<asp:Label ID="lblCompany" runat="server" Text="meta:lblCompany.Text" /> 
  • C<asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:lblCompanyText %>" />
  • D<asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:WebResources, lblCompanyText %>" />
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.NET&#8194;Web&#8194;site.&#8194;The&#8194;root&#8194;directory&#8194;of&#8194;the&#8194;site&#8194;contains&#8194...

2、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.NET&#8194;application&#8194;that&#8194;includes&#8194;a&#8194;page&#8194;named&#8194;TestPage.aspx.&#8194;TestPag...

3、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.NET&#8194;application&#8194;that&#8194;includes&#8194;a&#8194;page&#8194;named&#8194;TestPage.aspx.&#8194;TestPag...

4、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.NET&#8194;page&#8194;that&#8194;hosts&#8194;a&#8194;user&#8194;control&#8194;named&#8194;CachedControl.&#8194;You...

5、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.&#8194;NET&#8194;MVC&#8194;2&#8194;Web&#8194;application.&#8194;You&#8194;add&#8194;a&#8194;controller&#8194;name...

6、You are implementing 

You&#8194;are&#8194;implementing&#8194;an&#8194;ASP.NET&#8194;application&#8194;that&#8194;uses&#8194;data-bound&#8194;GridView&#8194;controls&#8194;in&#8194;multipl...