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

You are developing an&


You are developing an ASP.NET Web page. You add the following markup to the page. You add the following code segment to the code-behind. You need to save the uploaded file and display a message to the user that indicates that the upload either succeeded or failed. Which two actions should you perform?()

  • AReplace line 3 with the following code segment. if (FileUpload1.HasFile)
  • BReplace line 3 with the following code segment. if (FileUpload1.FileContent.Length > 0)
  • CInsert the following code segment at line 6. FileUpload1.SaveAs(saveName);
  • DInsert the following code segment at line 6. FileUpload1.FileContent.CopyTo(new FileStream(saveName, FileMode.Open);
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You are developing an&

You are developing an application that runs by using the credentials of the end user. Only...

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 are developing an&

You are developing an ASP.NET Web page that uses jQuery validation. The user should enter ...

4、You are developing an&

You are developing an application that dynamically loads assemblies from an application directory. Y...

5、You are developing an&

You are developing an application that receives events asynchronously. You create a WqlEventQuery in...

6、You are developing an&

You are developing an ASP.NET Web page. The page contains the following markup. The pages ...