刷新页面时,Gridview删除继续进行. [英] Gridview deletion continues while refreshing the page.

查看:63
本文介绍了刷新页面时,Gridview删除继续进行.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我使用带有删除按钮的gridview.如果要刷新页面,则删除一行后,下一行也将被删除.这个问题有解决方案吗?请帮我...

谢谢.

In my project I''m using a gridview with delete button. After deleting a row if I''m refreshing the page, then the next row is also getting deleted. Is there any solution for this problem? Pls help me...

Thankyou.

推荐答案

您好..

删除记录后,只需插入此代码段即可.

hi there..

After deleting the record just insert this snippet..

Response.Write("javascript:window.location.reload()");


这篇关于刷新页面时,Gridview删除继续进行.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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