Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
: Microsoft 70-305
Title
: Developing and
Implementing Web
Applications with Microsoft
Visual Basic.NET
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. You create an ASP.NET application for your company.
Your application contains a method named nextBusinessDay.
This method uses a date parameter and returns the next date that is not a holiday or weekend day.
You are debugging a page named ProjectTimeline.aspx.
You need the execution to break on the following line of code when the value of the dStartDate variable
changes:
StartDate = nextBusinessDay(dStartDate)
What should you do?
A. Set a breakpoint on the line of code and open the BreakPoint Properties dialog box.
Specify the following breakpoint condition:
dStartDate <> dStartDate
Select the is true option.
B. Set a breakpoint on the line of code and open the BreakPoint Properties dialog box.
Specify the following breakpoint condition:
dStartDate
Select the has changed option.
C. Add the following statement immediately after the call to nextBusinessDay:
System.Diagnostics.Debug.Assert( _
dStartDate <> dStartDate, "dStartDate has changed.")
D. Add the following statement immediately after the call to nextBusinessDay:
System.Diagnostics.Trace.Assert( _
dStartDate <> dStartDate, "dStartDate has changed.")
Answer: B
2. You are creating an ASP.NET page for your company.
The page contains a DataGrid control that displays all the current prices for the commodities that the
company purchases.
The page also contains a Button control that refreshes the data in the DataGrid control.
The DataGrid control needs to be repopulated each time the page is displayed.
The data is accessed through a DataView object stored in the Session object.
You want to ensure the fastest load time for the page.
What should you do?
A. Set the DataSource property and call the DataBind method of the DataGrid control in the Cli