I have many text fields in HTML, and when i upd开发者_运维技巧ate the fields, it gets updated in db, but the sheet which appears come with previous record, i have to manually refresh the browser to see the updated record, how can i tackle this situation, that after updating, the updated record should come in fields.
reload the fields from the db after the update. that way you'll also know if anything went wrong while saving to the db
You will have to rebind all HTML fileds with updated record by fetching new values from db.
You have to rebind your controls again with the data. Only then you will get the updated data. You may use Updatepanel if you want.
精彩评论