views:

102

answers:

1
+1  A: 

In the event handler:

gridView.EditIndex = e.NewEditIndex;
gridView.DataBind();

Is that what you're looking for?

LorenVS
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { GridView1.EditIndex = e.Item.ItemIndex;//no property named Item GridView1.DataBind(); }e don't have Item property.
JMSA
Sorry, corrected...
LorenVS