我可以在gridview单元格中放入不同的组件吗? [英] can I put different component in gridview cell?

查看:47
本文介绍了我可以在gridview单元格中放入不同的组件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在gridview单元格中放入不同的组件吗?例如,在这个单元格中可以有1个组合框1复选框和1个单选按钮列表。

can I put different component in gridview cell? for example in this cell can has 1 combobox 1 checkbox and 1 radio button list.

推荐答案

原则上,你可以,因为cell呈现为HTML < td> ...< / td> 元素,因此,您可以将任何内部HTML内容放入其中。



-SA
In principle, you can, because "cell" is rendered as HTML <td>...</td> element, so, you can put any inner HTML content inside it.

—SA


是的,

你可以将它添加到编辑或项目模板字段中。
yes,
you can add it into Edit or item templete field.


在codeproject中有一篇关于类似内容的非常有用的文章。这是链接 [ ^ ]到文章。它对我帮助很大,希望它对你也有帮助。
There was a very helpful article in codeproject about something similar. This is the link[^] to the article. It helped me a lot, hopefully it will help you too.


这篇关于我可以在gridview单元格中放入不同的组件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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