在GridView中row_command获取绑定列值 [英] Getting BoundField Value in gridview row_command
本文介绍了在GridView中row_command获取绑定列值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在gridview_rowcommand所选列的绑定字段值。
I need to get the bound field value of the selected column in gridview_rowcommand.
任何想法?
推荐答案
它会像...
GridViewRow row = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
row.Cells[0].Text
这篇关于在GridView中row_command获取绑定列值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文