如何访问给定ASP .NET GridView中的所有行? [英] How do I access all rows in given ASP .NET GridView?

查看:69
本文介绍了如何访问给定ASP .NET GridView中的所有行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



当AllowPaging设置为true时,如何访问给定ASP .NET GridView中的所有行?

Hello,

how do I access all rows in given ASP .NET GridView when AllowPaging is set to true?

推荐答案

不要访问GridView。

尝试并访问基础数据源。



这会给你访问网格中的所有记录。
Don't access the GridView.
Try and access the underlying data source.

That will give you access to all records in the grid.


这篇关于如何访问给定ASP .NET GridView中的所有行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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