can't see the result after i update a row in a table in a gridview
Peace! i created a gridview and ive bended the data using a ObjectDataSource, for some reasons i created the CRUD methods to do the work instead of using the CRUD method generated by the LINQDataSource; everythin开发者_如何学Pythong is just working fine but the update method, when i update a row in my gridview everything become as if there isnt any update! but when i check the database i can see that the rows is been updated! i can't find a solution (yet) to this issue. i'am using the updatepanel to have the autopostback without refreshing the page. thank you
Do you rebind the GridView after you perform the update?
Eureka! well in my case all i had to do is to instantiate another instance of my DataContext :S i've been using the a static DataContext. cheers.
精彩评论