如何在asp.net中处理网格视图中的数据和图像? [英] How to manipulate data and images inside grid view in asp.net ?
问题描述
你好朋友
如何在asp.net的网格视图中操作数据和图像?plz指导我
谢谢
Vikyas
Hello Friends
How to manipulate data and images inside grid view in asp.net ?plz guide me
Thanks
Vikyas
推荐答案
我想通过单击网格视图中的图像或复选框来绑定网格视图或某个工具。让我知道如何在前端绑定它?这背后的事件是什么?
I want to bind a grid view or some tool by clicking the image or checkbox in grid view.Let me know how to bind it in frond end ? whats the event behind this ?
对于图像,如果你有图像按钮,那么你可以处理图像按钮点击
事件,如果是 CheckBox
,然后你可以处理 CheckedChange
事件。
里面这些事件,获取 GridViewRow
的值,并做任何你想做的事。
For the Image, if you have Image Button, then you can handle the Image Button Click
Event and if that is a CheckBox
, then you can handle the CheckedChange
Event.
Inside these events, get the value of GridViewRow
and do whatever you want.
这篇关于如何在asp.net中处理网格视图中的数据和图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!