Updating detailsview not working florida law mandating child abuse

As you can see in the code above I have declared three Template Columns inside the Details View control and assigned its Text property to the fields in the database.This will display the data in the Details View control.

After user enters the data and clicks the Insert button, the data is added to the data source and the Details View control is returned to Read Only mode.The New button places the Details View control in Insert mode, and the Insert button accepts the data entered by the user and saves it to the data source.There are two ways to provide the command buttons for a Details View control.As you can see that the insert command only takes First Name and Last Name and not the User ID.This is because User ID is an identity value in the database table "Users", which means it is automatically generated.

Leave a Reply