关于GridView使用,说法错误的是()A、GridView会生成以表格进行布局的列表B、GridView内置了分页,排序,以及增、删、改、查等功能。C、给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件IDD、给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。

关于GridView使用,说法错误的是()

  • A、GridView会生成以表格进行布局的列表
  • B、GridView内置了分页,排序,以及增、删、改、查等功能。
  • C、给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件ID
  • D、给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。

相关考题:

以下关于苏合香丸的说法错误的是()。A、孕妇禁用B、脱证不宜使用C、热病不宜使用D、阳闭不宜使用E、中风病禁用

下面关于GridView控件的说法正确的是( )。A.GridView控件只能原样显示数据表中的记录,不能修改B.为了美化显示,GridView控件的头模板、体模板和尾模板都必须进行设置C.GridView控件不能分页显示数据D.GridView控件能实现数据的排序

SqlConnection,SqlCommand,SqlDataAdapter可获取数据供GridView使用。() 此题为判断题(对,错)。

在GridView换页事件对应的方法中,如果需要获得GridView的当前页的页号,使用的技术为()。 A.e.PageIndexB.e.IndexPageC.e,PageNowIndexD.e.CurrentPagee.NewPageIndex

关于使用FTP下载文件,下列说法中错误的是

如果在GridView中显示图书封面,说法正确的是()。 A.可以使用模列板B.可以使用ImageFieldC.无法显示D.只能通过编码实现

利用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、ImageFieldB、ButtonFielC、ImageD、PictureBox

简述可以使用哪些方法控制GridView控件的外观。

对于GridView的CommandField列,说法错误的是()A、CommandField列为命令列,主要包含编辑、更新、取消、删除、选定等按钮操作。B、CommandField是一个特殊的按钮列,点击时,不同类型的命令列会触发相对应的事件。C、当点击CommandField列时,都会触发GridView的RowCommand事件。D、以上都不对 。

如果在GridView中显示图书封面,说法正确的是()。A、可以使用模列板B、可以使用ImageFieldC、无法显示D、只能通过编码实现

GridView的属性()确定是否分页

GridView中能调整列的顺序

下面关于Struts报错机制说法正确的是()A、强制使用国际化B、错误信息保存在session中C、使用标签显示错误信息D、也可以使用显示错误信息

下面不属于控件的是()A、DataSetB、RepeaterC、SqlDataSourceD、GridView

GridView控件有什么功能?

下列关于U盘的说法中,正确的是()。A、不易携带B、使用不方便C、体积大D、以上说法都是错误的

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

在GridView控件中,可以使用哪个属性设置往返页面链接的一些属性?()A、PagerStyleB、PagerSettingsC、PageSizeD、PageDown

问答题简述可以使用哪些方法控制GridView控件的外观。

多选题如果在GridView中显示图书封面,说法正确的是()。A可以使用模列板B可以使用ImageFieldC无法显示D只能通过编码实现

单选题利用GridView和DetailsView显示主从表数据时,DetailsView中插入了一条记录需要刷新GridView,则应把GridView。DataBind()方法的调用置于()事件的代码中。AGridView的ItemInsertingBGridView的ItemInsertedCDetailsView的ItemInsertingDDetailsView的ItemInserted

单选题关于GridView使用,说法错误的是()AGridView会生成以表格进行布局的列表BGridView内置了分页,排序,以及增、删、改、查等功能。C给GridView设置数据源时,可以指定该控件的DataSourceID为某数据源控件IDD给GridView设置DataSource属性后,必须调用DataBind()方法。且DataSource和DataSourceID不可以同时指定。

单选题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.

多选题下面关于Struts报错机制说法正确的是()A强制使用国际化B错误信息保存在session中C使用标签显示错误信息D也可以使用显示错误信息