gridview中按钮的可见错误 [英] visible false of button in gridview

查看:60
本文介绍了gridview中按钮的可见错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



i有一个gridview控件..在每个按钮点击我必须添加一行&在每个删除按钮上单击我必须删除该行...但是在肌酐和删除行的情况下,添加按钮和删除按钮已经创建...但我只想在最后一行这些按钮..请告诉我如何在c#中显示这些按钮的错误?

hi..

i have a gridview control..on each button click i have to add a row & on each delete button click i have to delete the row...but in case of creatin & deleting row, add button & delete button has been created...but i want these button only at the last row..please tell me how to visible false of these button in c#???

推荐答案

那里...... 第二个解决方案将完成工作。如果这是最后一行,你只需要过滤...
There... The second solution will do the work. In the condition you just have to filter if this is the last row...


这篇关于gridview中按钮的可见错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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