Set the Page attribute to AutoEventWireup=False. Remove the attribute onunload=Page_Unload from the Web Form element.
Set the Page attribute to AutoEventWireup=False. Add the attribute OnUnload=Page_Unload to the Web Form element.
Set the Page attribute to AutoEventWireup=False. Add the Web Form attribute autocomplete=on.
Set the Page attribute to AutoEventWireup=True.
第1题:
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
A. Include a data source identified as "WebPartConnection1" on the Web Form.
B. Include a Web Part identified as "customerPart" on the Web Form.
C. Include a Web Part identified as "ordersPart" on the Web Form.
D. Ensure that you declare an interface named "IOrdersPart".
E. Ensure that you declare an interface named "ICustomerPart".
F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
第2题:
You need to design a strategy to log access to the company Web site. What should you do?()
第3题:
Part B
Directions:
Write an essay with the title “Reading Books in Printed Form. or on Computer” in which you should
1) analyze the strong points and weak points of each one, and
2) tell your own preference and your reasons.
You should write 160—200 words neatly on ANSWER SHEET 2.(20 points)
Reading Books in Printed Form. or on Computer
The popularization of computer has made it possible to read books on computer. With it, there is much discussion about whether e-books will replace traditional print-on-paper books.
Some people say they like only e-books, which are quicker and more convenient to get and use. To get a needed book, one has to spend much time or money in searching for or buying it in bookstores, but one can just type in the title, author or other related information of the book to find it in minutes on internet. Sometimes one can even read the full content of a digitized book free of charge or instantly discuss about a book in an online forum. Moreover, a lot of information of books can be stored in a small compact disc, which is easy to take.
Other people, however, think printed books are still necessary. In the first place, too much time in front of the computer can cause eyestrain or increase radiation risks. Second, a printed book can be read at your convenience. One can read in bed before sleep or during a boring journey, without fussing with a computer.
In sum, since e-books and printed books have their respective advantages and can complement each other, I would like to combine the two ways to meet different needs. For quick reference, a digitized book will probably be useful. To appreciate a poem or a novel, I prefer the traditional way of reading on printed books.
第4题:
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information. Identify how you can accomplish this?()
第5题:
You are implementing a Web page that displays text that was typed by a user. You need to display the user input in the Web page so that a cross-site scripting attack will be prevented. What should you do?()
第6题:
Your team creates a Web site. The Web site needs to be deployed to a staging server for performance testing. You plan to make a number of performance enhancements and then retest. You need to compile and copy the Web site to the staging server. What should you do? ()
第7题:
You are creating a Windows application for graphical image processing by using the .NET Framework 3.5. You create an image processing function and a delegate.You plan to invoke the image processing function by using the delegate.You need to ensure that the calling thread meets the following requirements: (1)It is not blocked when the delegate is running (2)It is notified when the delegate is complete What should you do?()
第8题:
You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested.Which code segment should you use?()
A.
B.
C.
D.
第9题:
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
第10题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application. You write the following code fragment.