Formview not updating sqldatasource
Using fo Data Source ID property is recommended way because it enables easier paging and updating.
The main difference between Form View and Deatils View controls is that Form View control allows using of templates for displaying a record instead of row fields used in Details View. Data Key Line 26: Dim themsg As String = "The key value is " & key. To String & "."Line 27: Your Data Key is going to be empty. Item Inserted Line 25: Dim key As Data Key = Form View1.If you also want to modify records, delete or add new items you need Update Command, Delete Command and Insert Command as well. Example of Sql Data Source control that will be used to select, insert, edit and delete data in Form View control could look like code bellow.