输入新记录后,如何强制页面在重新加载时刷新数据 [英] How do I force a page to refresh the data upon reload after entering new record

查看:162
本文介绍了输入新记录后,如何强制页面在重新加载时刷新数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过提交.aspx页创建新记录时,新记录未显示.我必须离开页面,然后返回页面才能显示新数据.

When I create a new record by submitting an .aspx page the new record is not showing up. I have to navigate away from the page and back to it for the new data to show.

如何刷新数据以重新加载?

How do I refresh the data up reload??

推荐答案

我认为您需要在网格上调用databind().如果这是个不幸的猜测,我们将需要更多的上下文-请您发布您的代码(aspx和vb)

i think you need to call databind() on your grid. If that's an unlucky guess, we're going to need more context - can you please post your code (aspx and vb)

这篇关于输入新记录后,如何强制页面在重新加载时刷新数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆