1,获取txt_TextChanged的行号
TextBox t = (TextBox)sender; GridViewRow grv = (GridViewRow)t.NamingContainer; int rowindex = grv.RowIndex;//行号
1,获取txt_TextChanged的行号
TextBox t = (TextBox)sender; GridViewRow grv = (GridViewRow)t.NamingContainer; int rowindex = grv.RowIndex;//行号