A. Add the following code segment after line 05. dc.ExtendedProperties("Total") = "Price * Quantity"
B. Add the following code segment after line 05. dc.Expression = "Price * Quantity"
C. Write an event handler for the DataTable‘s TableNewRow event that updates the row‘s Total.
D. Write an event handler for the DataTable‘s ColumnChanged event that updates the row‘s Total.
第1题
A. Add the following code segment after line 05. dc.ExtendedProperties["Total"] = "Price * Quantity”;
B. Add the following code segment after line 05. dc.Expression = “Prince * Quantity”;
C. Write an event handler for the DataTable‘s TableNewRow event that updates the row‘s Total.
D. Write an event handler for the DataTable‘s ColumnChanged event that updates the row‘s Total.
第2题
A. Create a control that derives from System.Web.UI.Control.
B. Create a control that derives from System.Web.UI.WebControls.CompositeControl.
C. Create a control that derives from System.Web.UI.WebControls.WebControl.
D. Create a control that derives from System.Web.UI.UserControl.
第3题
YoudecidetocreateaJavaScriptfilenamedDataScript.js.Thefollowingcodesegmentwaswrittentocreatethisfile:
TheDataScript.jsfileisinsertedasaresourceinaClassLibraryproject.ThenamespaceforthisprojectisData.Resources.TheJavaScriptMessagesobjectisusedbytheJavaScriptfunctioninordertoretrievemessagesfromaresourcefile.Thisresourcefileisnamed
TestMsgResources.resx.IntheASP.NETapplicationyouaddanAJAXWebformaswellas
referencingtheClassLibrary.ThereafteranASP.NETAJAXScriptReferenceelementisaddedtotheAJAXWebform.
YoureceiveaninstructionfrommanagementtomakesurethattheJavaScriptfunctionisabletoaccesstheerrormessagesdefinedintheresourcefile.YoushouldthusdeterminetheappropriatecodesegmentthatshouldbeaddedtotheAssemblyInfo.vbfile.
Whatshouldyoudo?()
第4题
第5题
A.A
B.B
C.C
D.D
第6题
A. PagerStyle ps = new PagerStyle();ps.NextPageText = “more>”;ps.PreviousPageText = “<back”;FormNews.Paginate = true;
B. FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;TextViewNews.PaginateRecursive(new ControlPager(FormNews, 1000));
C. FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.PaginateRecursive(new ControlPager(FormNews, 1000));
D. FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.Paginate = true;
第7题
A. Dim ps As PagerStyle = New PagerStyle()ps.NextPageText = "more >"ps.PreviousPageText = "< back"FormNews.Paginate = True
B. FormNews.PagerStyle.NextPageText = "more >"FormNews.PagerStyle.PreviousPageText = "< back"TextViewNews.PaginateRecursive(New ControlPager(FormNews, 1000))
C. FormNews.PagerStyle.NextPageText = "more >"FormNews.PagerStyle.PreviousPageText = "< back"FormNews.PaginateRecursive(New ControlPager(FormNews, 1000))
D. FormNews.PagerStyle.NextPageText = "more >"FormNews.PagerStyle.PreviousPageText = "< back"FormNews.Paginate = True
第8题
A. Add the OnClick event handler for the Login button to the code used in the custom user control.
B. Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C. In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D. In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
第9题
CustomControlmyControl=newCustomControl();
YouneedtoensurethataninstanceofCustomControlisdisplayedontheformasatoplevelitemofthectxMenucontrol.
Whichcodesegmentshouldyouadd?()
第10题
A. Anonymous
B. Certificate
C. Forms
D. Microsoft Windows Integrated Security
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!