Updating gridview in asp net

Rated 3.93/5 based on 507 customer reviews

To fix this, select the Form View, go to properties, create the Item Inserted event for the form and put this code in it This will cause the gridview to refresh.

If you observe the code above I have set the Pager Setting property for the Grid View.

For example if the column name is Name its corresponding parameter name will be @Name.

Once this is done the Sql Data Source will automatically pick values from respective Text Boxes inside the Grid View row to be edited.

Introduction The Grid View control displays the values of a data source in a table.

Each column represents a field, while each row represents a record.

Leave a Reply