且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在datagridview中一起更新两个表

更新时间:2023-02-14 15:30:42





您需要处理某些事件。没有任何事件,您的数据库表数据将不会更新。首先,您需要确定何时需要更新数据库的两个表。



其次,您可以使用更新查询来更新表。或者您可以使用存储过程来更新表。



检查这个帖子 [ ^ ]检查更新查询以使用单个查询更新多个表。



希望此信息对您有所帮助。
Hi,

You need to process on some event. Without any event your database table data will not be updated. So first you need to decide when you need to update two table of your database.

Secondly you can use update query to update table. Or you can use stored procedure to update tables.

Check this thread[^] to check update query to update multiple table with single query.

Hope this information will help you.