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

You create an ASP.NET&


You create an ASP.NET MVC 2 Web application that contains the following controller class. In the Views folder of your application, you add a view page named Index.aspx that includes the following @ Page directive. You test the application with a browser.You receive the following error message when the Index method is invoked: "The view 'Index' or its master was not found." You need to resolve the error so that the new view is displayed when the Index method is invoked.What should you do?()

  • AChange the name of the Index.aspx file to Product.aspx.
  • BCreate a folder named Product inside the Views folder. Move Index.aspx to the Product folder.
  • CReplace the @ Page directive in Index.aspx with the following value.
  • DModify the Index method by changing its signature to the following:public ActionResult Index(Product p)
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You create an ASP.NET&

You create an ASP.NET page. The page uses the jQuery $.ajax function to make calls back&en...

2、You develop an ASP.NET

You develop an ASP.NET web application that uses a Windows Azure web role. The application&ensp...

3、You develop an ASP.NET

You develop an ASP.NET web application that uses a Windows Azure web role. The application&ensp...

4、表达式10>5&&6%3的值是()

表达式10>5&&6%3的值是()A-1B非零值C0D1

5、You manually create an

You manually create an additional listener process,L1,for databases PROD, PAYDB and FINDB. While ...

6、“频段0”的CDMA2000-1X系统沿用了AMPS的信道编号,一个AMPS

“频段0”的CDMA2000-1X系统沿用了AMPS的信道编号,一个AMPS的信道编号对应的频谱宽度是多少?()A200KHzB30KHzC25KHzD150KHz