70-528 무료 덤프문제 온라인 액세스

시험코드:70-528
시험이름:TS: Microsoft .NET Framework 2.0 - Web-based Client Development
인증사:Microsoft
무료 덤프 문항수:149
업로드 날짜:2026-10-07
평점
100%

문제 1

You are creating a Web application. The application contains a file named books.xml.
The books.xml file contains the following code fragment. (Line numbers are included for reference only.)
01 <?xml version='1.0'?>
02 <bookstore>
03 <book genre="novel" style="other">
04 <title>The Confidence Man</title>
05 </book>
06 <book genre="novel" style="hardcover">
07 <title>The Handmaid's Tale</title>
08 </book>
09 <book genre="novel" style="other">
10 <title>The Poisonwood Bible</title>
11 </book>
12 </bookstore>
You write the following code segment.
Dim xmlDocument As New XmlDocument()
xmlDocument.Load(Server.MapPath("books.xml"))
Dim newBook As XmlDocumentFragment = xmlDocument.CreateDocumentFragment()
newBook.InnerXml = ("<book genre=""philosophy"" style=""other"" >" &
"<title>The Gorgias</title>" &
"</book>")
Dim rootXmlElement As XmlElement = xmlDocument.DocumentElement
You need to ensure that XmlDocumentFragment contained in the newBook variable is inserted between lines 05 and 06 in the XML document.
Which code segment should you use?

문제 2

You are creating a Microsoft ASP.NET application.
The application provides a Web portal to purchase tickets online. Many device types will browse the portal.
The portal includes a Web Form that contains a label named Lbl_Edition.
The Web Form contains the following code segment. (Line numbers are included for reference only.)
01 if
02 (
04 )
05 {
06 Lbl_Edition.Text = "Mobile Edition";
07 }
08 else
09 {
10 Lbl_Edition.Text = "Desktop Edition";
11 }
You need to ensure that Lbl_Edition displays the correct edition for the device type.
Which line of code should you insert at line 03?

문제 3

You develop a Web control to manage credit card information. The Web control is shown in the exhibit.

You register the control on the Web Form by using the following code segment.
<%@ Register Assembly="CreditCardUserDetails" Namespace="CreditCardUserDetails" TagPrefix="cc1" %>
You need to declare the control on the Web Form.
Which code segment should you use?

문제 4

You have an SQL query that takes one minute to execute. You use the following code segment to execute the SQL query asynchronously.
IAsyncResult ar = cmd.BeginExecuteReader();
You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.
DoWork() must run as many times as possible while the SQL query is executing.
Which code segment should you use?

문제 5

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config
file contains the definition for the membership provider.
After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file.?
You need to enable users to reset their passwords online. The new passwords must be sent to them by e-
mail after they have logged on through the Login.aspx page.
In addition, users must be required to answer their secret questions before resetting their passwords.
Which code logic should you use?

댓글 추가

귀하의 메일주소는 공개되지 않습니다. 필수 입력 사항은 표시되어 있습니다. *

insert code
그림의 인증번호를 입력하세요.