简体   繁体   English

如何添加复选框(输入html控件),该复选框将动态显示在asp.net的数据表中?

[英]How to add checkbox(input html control) which will be appear dynamically in datatable in asp.net?

I want to know how to add checkbox(input html control) which will be appear dynamically in datatable. 我想知道如何添加复选框(输入html控件),该复选框将动态出现在数据表中。 Can anyone explain it? 有人可以解释吗?

In the datatable you can't add a checkbox control or any other control. 在数据表中,您无法添加复选框控件或任何其他控件。 But You can add a column which will be of boolean type (True/False). 但是您可以添加一个将为布尔类型(真/假)的列。 Which will be what you are expecting. 这将是您所期望的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM