Hi,
I have a FormView control which I'm trying to have automatically update when the user changes pages (I'm duplicating an Access front-end, and in Access you don't explicitly have to "Update" a record to save your changes to it - you just go to a different record).
My FormView uses an object datasource that I declared on the ASPX page. Maybe that's my problem.
Anyway, I wrote this method...
Code:
Protected Sub FormViewPaging(ByVal sender As Object, ByVal e As FormViewPageEventArgs) Handles FormView1.PageIndexChanging
Me.ObjectDataSource2.Update()
End Sub
Which doesn't do a damn thing.
So what I really want to do is two thing:
(1) Update the FormView's underlying dataset
(2) Update the underlying database
Any Suggestions? Thanks.
Aaron