Start Aspxgridview not updating

Aspxgridview not updating

If you need to refresh both grids and not the whole page it is better to use grid Client Instance Name.

How can i reflect those changes without reload manually.

Once this is done, loading data from both tables for respective columns through some logic. And adding Table2 columns in Grid Columns collection dynamically (Using Databound event for this).

I am adding Grid Check Box Columns in the columns collection.

You need to BIND your Grid View after Updating to reflect changes from the Database...

protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) For more details then refer to this link below need to BIND your Grid View after Updating to reflect changes from the Database...

This happened to me: upon inspecting the Data Key Names property, I found it set to a field which had formerly been a primary key in a table but which now was a non-key field.

Check the docs on that property and set it to a list of the key fields. I have 3 tables, one of which is a junction table between the other two: Users ----- User Id User Name Roles ----- Role Id Role Name User Roles --------- User Role Id User Id Role Id There are FK relationships between User Roles and the other 2 tables.

Then take edited values and want to insert into database.