|
Why the prompt GridViewRow row = GridView1.Rows [e.NewSelectedIndex] cannot be converted
What namespace or other needs to be imported?
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 = "Hello"
end if
end sub |
|