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.
我正在连接和查询数据库,并且从两个表中获取数据,如下所示:
SELECT * FROM tblOne, tblTwo
我将一些文本框绑定到数据库中的字段,并添加了一个BindingNavigator便于分页和插入数据的文本框。因此我打算使用MySqlCommandBuilder自动构建INSERT命令。
BindingNavigator
MySqlCommandBuilder
INSERT
但是,当然MySqlCommandBuilder不能INSERT基于带有两个表的查询生成命令。
有没有简单的方法来解决这个问题?喜欢添加自定义INSERT命令?