.net动态gridview [英] .net dynamic gridview

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

问题描述

如何从动态生成的gridview控件中检索数据?

How to retrieve data from dynamically generated gridview controls?

推荐答案

您以与从静态(设计者)生成的gridview中相同的方式检索数据.

唯一的区别是,您必须引用用于配置网格视图的元数据,或者轮询网格视图本身以获取其列信息,而不必事先了解它,因为其配置是在编写您的代码时设置的.自己的代码.
You retrieve the data the same way you would from a statically (designer) generated gridview.

The only difference is that you must either reference the metadata that was used to configure the grid view, or poll the grid view itself for its column information, rather than having prior knowledge of it because its configuration was set at the time you were writing your own code.


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

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