添加,删除内存中表的项目 [英] Add,deleting items from a table in memory
问题描述
我使用带有复选框的树视图,客户端选择他们想要的所有项目,然后单击"接受"按钮,我将选中的项目添加到绑定到datagridview的work.table。客户端然后完成其他列。 (这部分没问题。)
I use a treeview with checkbox's, the client selects all the items they want and then clicks on a 'Accept' button where I add the checked items over to a work.table that is bound to a datagridview.The client then completes other columns. (This part is OK).
work.table仅在内存中。
The work.table is in memory only.
但是我需要能够验证:
- 如果选中的项目已经在work.table中 - 请勿再次添加。
- 如果未检查work.table中的项目 - 将其删除。
我们将不胜感激任何帮助或建议
Any help or suggestions would be appreciated
我正在使用VS2005 c#
I am using VS2005 c#
推荐答案
你好CanAnn,
Hi CanAnn,
·
根据您的描述, 我认为winform很少。
此论坛专门用于Windows窗体技术。我正在从Base"Windows Forms"移动这个帖子。
到"ADO.NET DataSet"论坛,因为这个问题与数据有关。该论坛中有更多的数据专家。
感谢您的理解和支持。
最好的问候,
Vin Jin
这篇关于添加,删除内存中表的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!