何时添加gridview中的自动生成的列? [英] When are the auto-generated columns in a gridview added?

查看:56
本文介绍了何时添加gridview中的自动生成的列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想稍微修改一下gridview中自动生成的列.在生成它们之后但呈现控件之前,我想重写哪个事件来对其进行修改?

I'd like to tinker with the auto-generated columns in a gridview a bit. What event would I want to override to modify them just after they are generated but before the control is rendered?

推荐答案

查看此链接以获取有关自定义GridView控件的自动生成的列的更多信息:

Check out this link for more information on Customizing the Auto-Generated Columns of a GridView Control:

http://msdn.microsoft.com/zh-cn/library/cc903950(VS.95).aspx

您要查找的特定事件将是 AutoGeneratingColumn 事件

The particular event you are looking for would be the AutoGeneratingColumn event

更多信息在AutoGeneratingColumn事件上

这篇关于何时添加gridview中的自动生成的列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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