我正在使用Obout网格并且有一个名为Sex的列,我希望用户只输入男性或女性,这可能吗?如果是,如何? [英] I Am Using Obout Grid And There Is A Column Named Sex , And I Want User To Enter Only Male Or Female, Is That Possible? If Yes How?

查看:102
本文介绍了我正在使用Obout网格并且有一个名为Sex的列,我希望用户只输入男性或女性,这可能吗?如果是,如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< cc1:column datafield =Sexheadertext =Sexxmlns:cc1 =#unknown>

<cc1:column datafield="Sex" headertext="Sex" xmlns:cc1="#unknown">

推荐答案

这样做: http://www.c-sharpcorner.com/UploadFile/54db21/gridview-with -radiobutton-binding / [ ^ ]



更多参考:

http://www.aspsnippets.com/Articles/ASPNet-GridView-Radio- Button-Single-Selection --- Select-only-one-RadioButton-from-Column.aspx [ ^ ]

http://www.asp.net/web-forms/overview / data-access / enhance-the-gridview / adding-a-gridview-column-of-radio-buttons-cs [ ^ ]

GridView控件内的RadioButtons [ ^ ]



-KR
This is will do: http://www.c-sharpcorner.com/UploadFile/54db21/gridview-with-radiobutton-binding/[^]

For more reference:
http://www.aspsnippets.com/Articles/ASPNet-GridView-Radio-Button-Single-Selection---Select-only-one-RadioButton-from-Column.aspx[^]
http://www.asp.net/web-forms/overview/data-access/enhancing-the-gridview/adding-a-gridview-column-of-radio-buttons-cs[^]
RadioButtons inside a GridView control[^]

-KR


您可以将ASP.NET验证器与OBUOUT Grid一起使用 - 查看文档 [ ^ ] - 请参阅该链接侧栏菜单中的其他选项以获取其他类型的验证
You can use ASP.NET validators with the OBUOUT Grid - check out the documentation[^] - see other options in the sidebar menu on that link for other types of validation


这篇关于我正在使用Obout网格并且有一个名为Sex的列,我希望用户只输入男性或女性,这可能吗?如果是,如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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