将隐藏列添加到ASp.net中的网格视图 [英] Add hidden columns to the grid view in ASp.net

查看:69
本文介绍了将隐藏列添加到ASp.net中的网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个gridview,其中有一些隐藏的列。要求是当用户在gridview上隐藏时,应显示一个复选框,该复选框应该提供添加要显示的列的选项以及删除现有列。请帮我提供一些示例代码。

Hi,
I have a gridview in which i have some hidden columns. The requirement is when the user cliks on the gridview a check box should be displayed which should give an option of adding the columns to be displayed and also removing the existing columns. Please help me in providing some sample code.

推荐答案

请参阅以下CP文章:

在ASP.NET中显示/隐藏GridView列 [ ^ ]



干杯,

Edo
See the following CP article:
Show / Hide GridView Columns in ASP.NET[^]

Cheers,
Edo


这篇关于将隐藏列添加到ASp.net中的网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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