试题详情
- 多项选择题 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?()
A、Replace line 3 with the following code segment. if (FileUpload1.HasFile)
B、Replace line 3 with the following code segment. if (FileUpload1.FileContent.Length > 0)
C、Insert the following code segment at line 6. FileUpload1.SaveAs(saveName);
D、Insert the following code segment at line 6. FileUpload1.FileContent.CopyTo(new FileStream(saveName, FileMode.Open);
- A,C
关注下方微信公众号,在线模考后查看
热门试题
- You had
- 您正在设计一个Windows
- You recently develo
- You are developing
- You are the network
- You have
- You are t
- Your network consis
- You work
- You create&ensp
- You have
- 你是TestKing网站销售部门的15台
- Your company has an
- Yournetworkcontainsa
- You are
- You create&ensp
- Yourcomputerhasawire
- You are a
- Yournetworkconsistso
- You develop a Windo