Gridview Eit button does not edit

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • j-in-uk

    Gridview Eit button does not edit

    Hi,

    I am using the gridView control, when a user clicks the Edit button, it
    does not edit the existing row but detects it's an empty row and goes
    to emptdataTemplat e mode instead.

    i do have this:
    protected void gvProducts_RowE diting(object sender,
    GridViewEditEve ntArgs e)
    {
    gvProducts.Edit Index = e.NewEditIndex;
    gvProducts.Show Footer = false; // We also turn off the add
    screen while updating data
    BindgvProducts( );
    }

Working...