是AJAX错误还是什么? [英] Is it a AJAX error or what?
问题描述
我使用页脚行动在网格视图中插入数据
当我关闭窗口并打开该网格时,我看到没有插入数据...
但是如果我再次运行代码,我检查行已经插入....
同样在删除时发生.. .i我正在删除网格中的行...
它被删除,,,,,但如果我关闭窗口并再次导航到那个页面......行就在那里,,, ,,
如果我重新运行我看到的代码..数据已被删除......数据库也是如此....
是AJAX错误???????
我将如何解决它...我的代码必须开发明天...建议
:大喊大叫已删除
I am inserting data in a grid view dynamically using footer row
When i close the window and open that grid i see no data is inserted...
But if i run the code again i check that rows are already inserted....
same it happens in case of delete...i am deleting the rows in the grid...
it gets deleted,,,,,but if i close the window and navigate to that page again...the rows are there,,,,,
if i rerun the code i see ..data is already deleted ...and so also in database....
is it AJAX error???????
How will i fix it... My code has to be developed tomorrow...Suggest
: Shouting Removed
推荐答案
由于更新面板..
GridView没有刷新。
这就是为什么U面对这类问题..
尝试保持GridView更新面板外面
什么后永远的Ur操作,你必须再次使用GridView绑定数据
Due to Update Panel..
GridView Is Not Refreshing.
That's Why U Facing This Type Of Problem..
Try To Keep GridView OutSide Of Update Panel
After Whatever Ur Operation Is There,U Have To Bind Data With GridView Again
这篇关于是AJAX错误还是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!