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 命令写入 DataAdapter,或者当您从数据库中拖动表时,他会为您提供创建更新删除和插入语句的选项。