如何替换GridView列的值 [英] How to replace the value of a GridView column

查看:59
本文介绍了如何替换GridView列的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用网格视图中单击的按钮值替换列的值?

已添加OP:

我们正在执行项目管理系统.因为我们的管理员必须接受和拒绝提交给他的项目.我们正在使用网格视图按列列出项目详细信息.一栏是指定接受或拒绝.我们在每一行的另一列中提供了复选框.因此,勾选的复选框将是接受的项目.
我们还有一个名为status的列.其默认值是未决.已选中的行的该列值应更改为接受.该怎么做??

[edit]主题,在问题中添加了OP注释-OriginalGriff [/edit]

how to replace the value of a column with the value of button clicked in grid view??

The OP Added:

we are doing project management system .In that our admin has to accept and reject the projects submitted to him. We are using grid view to list the project details column-wise . One column is to specify accepted or rejected. We have given checkboxes in another column for each row. So the checkboxes which are ticked will be the accepted projects.
We have another column called status.its default value is pending This column value of checked rows should be changed to accepted. How to do this??

[edit]Subject, OP comment added to question - OriginalGriff[/edit]

推荐答案

如果您需要基于复选框更新列,则 [
If you requirement is about updating the column based on the checkbox then this[^] might help you. Explain bit more if I am wrong.


这篇关于如何替换GridView列的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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