Thursday, 5 September 2013

update a formview that allows paging (dynamic data website)

update a formview that allows paging (dynamic data website)

I'm working on a dynamic data website with linqtosql dbml file. Could
anyone please help in giving some examples on how to update records
displayed in a formview that allows paging? The formview exists in the
"Edit.aspx" page with DefaultMode="Edit" and
DataSourceID="DetailsDataSource" where "DetailsDataSource" is a
LinqDataSource with EnableUpdate="true". The bottomrow of the formview
contains a LinkButton with CommandName="Update" to perform the update
operation. Once I change some info in the bounddatafieds and then click on
the linkbutton, the formview loads with empty datafields and no updates
are saved to the database.
Any help will be much appreciated.
Thank you.

No comments:

Post a Comment