Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图找出原因,因为没有与此相关的具体问题,也没有真正有用的答案。我有一个从 SQL 数据库打开的 Treeview,我希望视图中的数量是可编辑的。
它基本上由 5 列组成,只有名为“QTY”的一列标题下的内容应该是可编辑的,因为它是被计算的项目。
然后应该更新新的数量以显示为用户的输入。
有很多行要编辑,所以为每一行编写和设置一个单独的程序是不必要的,而且看起来就像写得很糟糕的代码。