帮我看看这个是什么意思??谢谢
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
string EmployeeID = this.GridView1.DataKeys[e.RowIndex][0].ToString();//Datakeys是一个数据库标题集合;[e.RowIndex]是指当前所在行
string LastName = ((TextBox)this.GridView1.Rows[e.RowIndex].Cells[0].Controls[0]).Text.ToString();
Response.Write(LastName);
}
Controls[0]这个是什么意思越详细越好;;
还是就是一般什么时候加()比方说:ToString();
e.NewEditIndex;e.NewPageIndex;