将数据网格视图中的行显示为要更新的行. [英] Show the rows in dataGrid view as the rows being updated.

查看:80
本文介绍了将数据网格视图中的行显示为要更新的行.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个名为grid1,按钮btnClick的网格. grid1有100行(包含DNS名称).
当我单击按钮时,网格将使用IPAddress更新设备名称.
网格行被一个接一个地更新,我也只能看到其余的前20或25行
已更新.但是在完成整个过程后,我看不到所有行,因此无法看到中间的所有行.

我可以在更新行值时看到网格行的更新值吗?

请帮我解决这个问题.

I have a grid called grid1,button btnClick. grid1 has 100 rows(contains DNS Names).
When I click button the grid is updated device Names with IPAddress.
The grid rows are updated one by one I am able to see only first 20 or 25 rows rest of the rows also
are updated.But I am not able to see all the rows, after completing the Whole process I am able to see all the rows in between I am not able to scroll down the grid.

Can I see the grid rows updated value as the row value is being updated?

Please help me in this reagrd.

Thanks in Adavnce.

推荐答案

一种可能的解决方案是,每当行被更新并成功完成时就引发事件. ://webdeveloperpost.com/Articles/Return-value-from-user-control-in-ASP-NET-and-C-Sharp.aspx>此 [
One possible solution will be to raise as event whenever a row is updated and successfully completed.Just take a look at this[^] event link.

I hope this helps you well.


这篇关于将数据网格视图中的行显示为要更新的行.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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