protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
GridViewRow row = GridView1.Rows[e.NewSelectedIndex]
if (row.RowState == DataControlRowState.Selected)
this.Label3.Text = row.Cells[1].Text.ToString();
this.txt1.Text ="你好"
end if
end sub
Dim kind2 As String = CType(GridView1.Rows(e.RowIndex).FindControl("kind21"), DropDownList).SelectedValue
Dim qty As String = CType(GridView1.Rows(e.RowIndex).FindControl("qty1"), TextBox).Text