GridView1.Rows[e.RowIndex].Cells[1].Controls[0]是System.Web.UI.LiteralControl类型,不是TextBox,所以报错,建议用FindControl找textbox