protected void C1GridView1_RowUpdating(object sender, C1GridViewUpdateEventArgs e) { // bind the grid C1GridView1.DataSource = GetDataSet(); // update the datasource C1GridView1.Update(); // Reset the edit mode for the current item C1GridView1.EditIndex = -1; // Refresh the grid UpdateView(); }
protected void C1GridView1_RowUpdating(object sender, C1GridViewUpdateEventArgs e) { // bind the grid C1GridView1.DataSource = GetDataSet(); // update the datasource C1GridView1.Update(); // Reset the edit mode for the current item C1GridView1.EditIndex = -1; // Refresh the grid UpdateView(); }