gridview行单击事件
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
//注册行单击事件-->GridView1_SelectedIndexChanged//执行操作
e.Row.Attributes.Add("onclick", "javascirpt:__doPostBack('GridView1','Select$" + e.Row.RowIndex + "')");
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
//GridView1行单击事件操作
}