利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。A、GridView的ItemInsertingB、GridView的ItemInsertedC、DetailsView的ItemInsertingD、DetailsView的ItemInserted
利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。
- A、GridView的ItemInserting
- B、GridView的ItemInserted
- C、DetailsView的ItemInserting
- D、DetailsView的ItemInserted
相关考题:
下面关于GridView控件的说法正确的是( )。A.GridView控件只能原样显示数据表中的记录,不能修改B.为了美化显示,GridView控件的头模板、体模板和尾模板都必须进行设置C.GridView控件不能分页显示数据D.GridView控件能实现数据的排序
如果对定制后的GridView实现排序功能,除设置GridView的属性AllowSorting的值为True外,还应该设置()属性。A、SortExpressionB、SortC、SortFieldD、DataFieldText
You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one page to another. What should you do?()A、Replace the GridView control with a ListView control.B、Set the ClientIDMode attribute to Predictable in the web.config file.C、Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.D、Set the @ OutputCache directives VaryByControl attribute to the ID of the GridView control.
关于GridView使用,说法错误的是()A、GridView会生成以表格进行布局的列表B、GridView内置了分页,排序,以及增、删、改、查等功能。C、给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件IDD、给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。
在GridView换页事件对应的方法中,如果需要获得GridView的当前页的页号,使用的技术为()。A、 e.PageIndexB、 e.IndexPageC、 e,PageNowIndexD、 e.CurrentPage
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0. The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control. You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years. What will you do to accomplish this?()A、Use the RowCommand event of the GridView control.B、Use the SelectedlndexChanged event of the GridView control.C、Use the RowDataBound event of the GridView control.D、Use the RowEditing event of the GridView control.E、Use the RowUpdated event of the GridView control.
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?()A、RowEnteredB、RowEditedC、RowEnteringD、RowEditing
单选题利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。AGridView的ItemInsertingBGridView的ItemInsertedCDetailsView的ItemInsertingDDetailsView的ItemInserted
单选题关于GridView使用,说法错误的是()AGridView会生成以表格进行布局的列表BGridView内置了分页,排序,以及增、删、改、查等功能。C给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件IDD给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。
判断题GridView中内置了插入数据的功能A对B错