该行有一个LinkButton,单击时需要突出显示该行。以编程方式查找GridView行
到目前为止的代码:
protected void linkbutton1_Click(object sender, EventArgs e)
{
LinkButton l = (LinkButton)sender;
GridViewRow g = (GridViewRow)l.Parent; // what is the correct way to do this?
//g.Style etc etc
}