How do I put a gridview row in edit mode programmatically?
Just implement the Row_Editing event and do something like this:
protected void Row_Editing(object sender, GridViewEditArgs e) { myGridView.EditItemIndex = e.EditItemIndex; BindData(); }
Bind data will populate the GridView with the data.