在GridView中不将密码显示为字符 [英] not display password as charcter in gridview
本文介绍了在GridView中不将密码显示为字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用gridview,并且在数据库中有密码列,其中具有varchar数据类型.我只是将其绑定在gridview中,但将密码列显示为字符,并且显示为evryone可以读取.
因此,我希望在绑定网格时该密码列不显示为varchar.
就像文本框模式= password ...
因此,在绑定网格时没有人可以阅读它..
谢谢...
Mitesh
i am using gridview and there is column of password in which it has varchar datatype in database. i just bind it in gridview but display password column as character and it display like evryone can read.
so, i want that password column not display as varchar when bind the grid.
like textbox mode =password...
so no one can read it when bind the grid..
Thanksss...
Mitesh
推荐答案
请参阅以下内容可能对您有帮助:
http://www.eggheadcafe.com/community/asp-net/17/10417112/gridview-to-display-a-column-text-as-password-char.aspx [ http://stackoverflow.com/questions/2735811/how- to-create-column-of-type-password-in-gridview [
Refer this may help you:
http://www.eggheadcafe.com/community/asp-net/17/10417112/gridview-to-display-a-column-text-as-password-char.aspx[^]
http://stackoverflow.com/questions/2735811/how-to-create-column-of-type-password-in-gridview[^]
这篇关于在GridView中不将密码显示为字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文