遍历gridview中的所有记录 [英] To loop through all records in gridview

查看:321
本文介绍了遍历gridview中的所有记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想遍历gridview中的所有行,而我正在使用此代码...
foreach(GVDealsException.Rows中的GridViewRow行)

我已将分页设置为true ...但是,此语句为我提供的行仅在一个特定页面中可用,而并非全部

请帮忙.它的紧急

hi all,
i wanna loop through all the rows in the gridview and i am using this code...
foreach (GridViewRow row in GVDealsException.Rows)

i have paging set to true...however this statement gives me the rows only available in one particular page not all

please help..its urgent

推荐答案

从数据源中检索行,即用于绑定的数据表.
Retrieve rows from the datasource i.e. datatable used for binding.


这篇关于遍历gridview中的所有记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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