What are the ways in which the functionalities can be added to DataGrid control data source?
What are the ways in which the functionalities can be added to DataGrid control data source?
- DataGrid control allows the user to modify and manage the records without adding the new ones. To add the functionality following things need to be done:
- Add a new record in the data source for the grid and assign an ID to the record.
- Put a placeholder values in the properties area for columns and make a column such that it can’t be null.
- Rebind the DataGrid control to the source through which the modification can be done.
- Determine the place where the record will appear on the grid.
- Update the record so that it will be automatic when the user clicks on it or updates a link or a new record is added.