如何将特定用户的编辑文本(编辑)更改为其他文本(视图)(vb.net) [英] how to change edit text(Edit) to other text(view) for a particular user (vb.net)

查看:125
本文介绍了如何将特定用户的编辑文本(编辑)更改为其他文本(视图)(vb.net)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友您好,请看一眼吗?
即时通讯使用gridview从datasuorce读取数据(我的访问权限),并使用智能标签中的启用编辑功能即时编辑数据(在设计窗口.aspx中),现在我想将编辑文本更改为:edit(我将其命名为edit)为'对于名称为"sunil"的特定用户的查看",任何有才能的人都可以提供帮助吗?
请为此提供一些代码?
预先感谢


这是我的桌子:



身份证姓名工资指定
编辑1个sunil 12000 Jr. Developer
编辑2个rajesh 12300安装
编辑3个prabhu 8000支持
编辑4 sandeep 20000 sr.developer

hello friends, please hav a glance?
im using gridview to read data from datasuorce(my access) and im editing data using enable editing from smart tag(in design window .aspx), now i want to change the edit text: edit(i hav named it as edit) to ''view'' for a particular user whose name:''sunil'', can any talented person can help?
please some code for this?
thanx in advance


this is my table:



ID name salary designation
Edit 1 sunil 12000 Jr. Developer
Edit 2 rajesh 12300 installation
Edit 3 prabhu 8000 support
Edit 4 sandeep 20000 sr.developer

推荐答案

使您的字符串来自您调用的方法,然后在该方法中解析另一列的值并返回正确的字符串.
Make your string come from a method that you call, and in that method, parse the value from the other column and return the correct string.


这篇关于如何将特定用户的编辑文本(编辑)更改为其他文本(视图)(vb.net)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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