マイクロソフト認定資格は、レベルが高く内容の難しいものです。それだけに取得に向けた学習資料は欠かせません。KILLTESTでは、70-315 問題集を用意して、認定資格取得のために強力なサポートを行っています。KILLTESTの70-315模擬試験問題集は常に最新であり、すごく人気があります、この70-315問題集が申し分のない学習資料と思います、精度が高くて、何よりこの70-315問題集は合格することを保証して、万が一不合格になる場合全額返済します。
これから70-315無料問題集みんなと分かち合います
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:
dStartDate = 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 Click event
handler for the Button control.
B. Set the DataSource property and call the DataBind method of the DataGrid control in the Start event
handler for the Session object.
C. Set the EnableViewState property of the DataGrid control to false.
D. Set the EnableViewState property of the DataGrid control to true.
Answer:C
4. You are maintaining an ASP.NET application named SalesForecast. The application is written in Visual
C# .NET. The application includes a page named FirstQuarter.aspx that resides within the Sales
namespace. The page class is named FirstQuarter.
You discover that another developer inadvertently deleted the Page directive for FirstQuarter.aspx. You
want to create a new Page directive to allow FirstQuarter.aspx to work properly.
Which directive should you use?
A. <%@ Page Language= ±c ¡± Codebehi n =¡±Fir st Quarter . aspx cs¡ ± Inher t s=¡ ±F i r stQur t
B. <%@ Page Language= ±c ¡± Codebehi n =¡±Fir st Quarter . aspx cs ¡± Cl as sNme=¡ ±Sales.F i r stQur t
C. <%@ Page Language= ±c ¡± Codebehi n =¡±Fir st Quarter . aspx cs¡ ± Inher t s=¡ ±Sales.F i r stQu%>
D. <%@ Page Language= ±c ¡ ± Codebehi n =¡±Fir st Quarter . aspx c s ¡± Cl as sNme=¡ ±Sales.F i r stQur
Inherits= ±Fi r st Quart e¡ ±
Answer: C
5. You are creating an ASP.NET page for a bookstore. You want the page to display a list of authors in a
DataGrid control named Authors. You write a method named BindAuthors() to bind Authors to a DataView
object at run time. You enable paging for the grid. You place two Label controls on the page. One control
is named Current, and the other control is named Total. In the Current label, you want to display the page
number of the current page. In the Total label, you want to display the total number of pages that are
available. You need to ensure that these controls are updated whenever a user moves from page to page
in the grid. You are writing the following event handler for the Authors.PageIndexChanged event. (Line
numbers are included for reference only.)
1 private void Authors_PageIndexChanged(object source, DataGridPageChangedEventArgs e) {
2 Authors.CurrentPageIndex = e.NewPageIndex;
3 BindAuthors()
4
5 }
Which code should you add at line 4 of the event handler?
A. Current.Text = (Authors.PageCount + 1).ToString(); Total.Text = Authors.PageSize.ToString();
B. Current.Text = (Authors.CurrentPageIndex + 1).ToString(); Total.Text = Authors.PageSize.ToString();
C. Current.Text = (Authors.CurrentPageIndex + 1).ToString(); Total.Text = Authors.PageCount.ToString();
D. Current.Text = Authors.CurrentPageIndex.ToString(); Total.Text = Authors.PageCount.ToString();
Answer: C