【发布时间】:2011-04-23 09:51:16
【问题描述】:
我正在开发一个计费应用程序。问题是我想提高计费速度,使其尽可能快速和流畅,因此为此目的使用 DataGridView。
有没有使用数据网格进行计费的示例程序?
我的应用程序中的问题
The problem is that when a product is selected and quantity is entered say 100 in stock sometimes 50 may be there in one batch, so I want to add 50 from other batch 我想将新记录显示为新记录。
用户将在数量栏中输入 100 我想取消它并想将其更改为 50
这是尝试更改它时出现的问题循环发生在CellValueChanged。
由于网格的值在CellValueChanged 事件中发生变化,它将再次被调用我该如何解决这个问题或者请给我一些示例程序链接
【问题讨论】:
-
DataGridView 的最佳资源是常见问题解答windowsclient.net/Samples/Go%20To%20Market/DataGridView/…
标签: c# windows winforms datagridview