我使用共享变量来保留计数值,以便动态地向Gridview控件添加行? [英] I am Using the shared variable to retain the count value for adding row dynamically to Gridview control ?

查看:77
本文介绍了我使用共享变量来保留计数值,以便动态地向Gridview控件添加行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图保留gridview行的计数值,但问题是count会保留上次运行的值以供下次运行。

如何解决这个问题?请建议我解决方案.........

解决方案

在CodeProject上已有一篇关于此主题的文章;)

从ASP.NET GridView动态添加和删除行 [ ^ ]

Am trying to retain the value of the count for gridview row but the problem is count retains the value of the previous run for next time run .
How to solve this issue? Please suggest me the solution .........

解决方案

There is already an article about this topic on CodeProject ;)
Dynamically adding and deleting rows from ASP.NET GridView[^]


这篇关于我使用共享变量来保留计数值,以便动态地向Gridview控件添加行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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