下面的代码没有执行!!
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
GridViewRow r = GridView1.SelectedRow;
TxtName.Text = r.Cells[0].Text;
TextBox2.Text = r.Cells[1].Text;
TextBox3.Text = r.Cells[2].Text;
TextBox4.Text = r.Cells[3].Text;
}