Linqdatasource not updating
When you select a row in the grid, I am binding the selected value of the grid to Details View which shows the detail for the record selected in the grid.
One thing you must be wondering is, how come I don't have insert,update and delete parameters.
If you do not specify the primary key, insert will fail.
I am also registering with the Inserted event of the form view control.
Since all my parameter are string, I am okay in this case.
My customer grid supports paging, sorting, updating,deleting and selecting by making use of linq datasource. In customer grid, I set my Data Source ID to my linq datasource control.