GridView中能调整列的顺序
GridView中能调整列的顺序
相关考题:
下面关于GridView控件的说法正确的是( )。A.GridView控件只能原样显示数据表中的记录,不能修改B.为了美化显示,GridView控件的头模板、体模板和尾模板都必须进行设置C.GridView控件不能分页显示数据D.GridView控件能实现数据的排序
在GridView换页事件对应的方法中,如果需要获得GridView的当前页的页号,使用的技术为()。 A.e.PageIndexB.e.IndexPageC.e,PageNowIndexD.e.CurrentPagee.NewPageIndex
利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。A、GridView的ItemInsertingB、GridView的ItemInsertedC、DetailsView的ItemInsertingD、DetailsView的ItemInserted
如果对定制后的GridView实现排序功能,除设置GridView的属性AllowSorting的值为True外,还应该设置()属性。A、SortExpressionB、SortC、SortFieldD、DataFieldText
关于GridView使用,说法错误的是()A、GridView会生成以表格进行布局的列表B、GridView内置了分页,排序,以及增、删、改、查等功能。C、给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件IDD、给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。
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.
Gridview: How to change the image of an image control place in each row in a gridview:()A、ItemDataBoundB、Init C、Prerender D、something I don‟t remember
单选题You are implementing an ASP.NET application. The application includes a Person class with property Age. You add a page in which you get a list of Person objects and display the objects in a GridView control. You need to add code so that the GridView row is highlighted in red if the age of the person is less than 18. Which GridView event should you handle?()ARowDataBoundBRowCommandCRowUpdatedDRowEditing
单选题利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。AGridView的ItemInsertingBGridView的ItemInsertedCDetailsView的ItemInsertingDDetailsView的ItemInserted
单选题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?()AReplace the GridView control with a ListView control.BSet the ClientIDMode attribute to Predictable in the web.config file.CSet the ClientIDRowSuffix attribute of each unique GridView control to a different value.DSet the @ OutputCache directives VaryByControl attribute to the ID of the GridView control.
问答题在EAM系统中,如何调整列表中列的显示顺序和大小。