title: Row editing in grid view C#
body: <p>I am working on a nested gridview. However I'm unable to set the child gridview in edit mode. I'm able to set the main gridview in edit mode but the child gridview doesn't get into edit mode. Here's my code..</p>
  <pre><code>protected void ChildGridView_RowEditing(object sender, GridViewEditEventArgs e)
  {
      GridView g2 = (GridView)sender;
  
      g2.EditIndex = e.NewEditIndex;
  
      BOGridView.DataBind(); // binding this gridview to main gridview.
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/jU8S8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jU8S8.jpg" alt="enter image description here" /></a></p>
  <p>Any help is appreciated. Thanks in advance.</p>