返回首页

朋友你好

我有一个asp.net查询相关的网格视图。我查询,我想asp.net视图网格检查中点击选择的行的索引。我想用这在我的代码中选定行的索引。

请为我提供此解决方案。| Sunil.yadava09

回答

评论会员:kanjoliaGOPAL 时间:2012/02/06

use link button or any button but you have to pass command argument like written below

{C}

after that you can get Rowindex from code behind like this

{体C3}{体C3}
评论会员:游客 时间:2012/02/06
hitech_ssc:如果你在排DataBound事件,你可以得到这样{C5的}