属性Grid.ColumnName.Visible = false; [英] Proprty Grid.ColumnName.Visible = false;

查看:62
本文介绍了属性Grid.ColumnName.Visible = false;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net中是否有Grid.ColumnName.Visible = false的属性;

Is There any property in asp.net for Grid.ColumnName.Visible = false;

推荐答案

这样,您可以控制gridview.
In this way you can control the visibility of the columns of the gridview.
grid0.Columns[0].Visible = false;



grid0是gridview名称.



grid0 is the gridview name.


这篇关于属性Grid.ColumnName.Visible = false;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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