数据控制问题 [英] Data Control Problem

查看:74
本文介绍了数据控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使列沿重复方向显示,例如多行记录中一列的照片显示在一行中,其次可以完成分页,但是两个控件都无法满足这两个要求,例如第一个控件可以使用数据列表,第二个可以一个可用的GridView此外,我需要它应该是可更新的.建议我控制在其中可以完成所有操作.

I want to get columns in a repeat direction like photos of one column of multiple records appear in one row, secondly paging can be done, but both the requirements are not fulfilled by one control like first one is possible with datalist and second one is available with gridview moreover I need it should be updateable. Suggest me control in which I can done all the things.

推荐答案

DataList 在要显示多条记录显示在一行上时非常有用.管理分页,您需要编写自定义分页逻辑.我认为这不是一项艰巨的任务,您可以在DataList 自定义分页上找到很多示例.

我发现了这个

http://www.c-sharpcorner.com/UploadFile/rizwan328/DataListCustomPaging01112009021021450AM/DataListCustomPaging.aspx [ ^ ]

针对DataList的自定义分页 [
DataList is really useful when you want to show multiple records to appear on one row, and to manage paging you need to write your custom paging logic. I don''t think this is a tough task, you can find lot of examples on DataList custom paging.

I found this

http://www.c-sharpcorner.com/UploadFile/rizwan328/DataListCustomPaging01112009021450AM/DataListCustomPaging.aspx[^]

Custom Paging for DataList[^]


这篇关于数据控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆