随笔 - 12  文章 - 1 评论 - 3 trackbacks - 0

protected void EduView_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            
if (e.CommandName == "EduEdit")
            {
                LinkButton lk 
= (LinkButton)e.CommandSource;
                GridViewRow dr 
= (GridViewRow)lk.Parent.Parent; //取得对应行
            }
        }
posted on 2007-09-11 12:45 Mercury 阅读(67) 评论(0) 编辑 收藏