我将如何刷新页面 [英] how will i refresh the page
本文介绍了我将如何刷新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想刷新页面,当我添加记录,更新,删除记录..
i want to refresh the page when i add the record,update,delete the record..
推荐答案
插入/删除/更新后
只需拨打你第一次用于预约的绑定方法,即可工作
参考这个例子
http://www.codedigest.com/Articles/ASPNET/281_Edit_Update_Delete_and_Insert_data_with_DataList_control_using_LINQ.aspx [ ^ ]
after insertion/deletion/update
just call the binding method which is you used for biding first time, that will work
refer this example
http://www.codedigest.com/Articles/ASPNET/281_Edit_Update_Delete_and_Insert_data_with_DataList_control_using_LINQ.aspx[^]
嗨亲爱的,
执行Insert,Delete或Update过程然后重新加载刷新功能。
hi dear,
when you execute Insert, Delete or Update process then Reload your Refresh function.
默认情况下在asp.net中点击每个按钮发回页面。
通过执行Response.redirect(tosomepage.aspx),如果有任何重要数据,您将失去视图状态。你如何进行插入/更新/删除?
By default in asp.net click on every button post back the page.
By doing Response.redirect("tosomepage.aspx") you will loose view state if any important data. how you are doing insert/update/delete?
这篇关于我将如何刷新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文