从临时gridview到现有表更新2列 [英] Update 2 column from temporary gridview to existing table
问题描述
.net c# - 请帮助我,我想从临时gridview更新2列到现有表格。
数据库表:productopening([PRODUCTCODE] [curqty ])
临时gridview:ProductName(第1列),Balstock(第9列)(100条记录需要更新)
产品名称和产品代码是相同的记录,因此您可以匹配和更新
想要从临时gridview更新到数据库表productopening
从一个不同的datagridview更新到数据库表。
http://www.chltech.in/sample/database_table.png (主数据库表)
http://www.chltech.in/sample/got_value.png(临时datagridview)
想要更新bal stock to curqty
希望现在你明白了
先谢谢你的帮助我
.net c# - please help me, i want to update 2 column from temporary gridview to existing table.
Database table : productopening ([PRODUCTCODE][curqty])
Temporary gridview : ProductName(column 1), Balstock (column 9) (100 records need to update)
Productname and productcode are same record so you can match and update
want to update from temporary gridview to database table productopening
from one different datagridview to update into database table.
http://www.chltech.in/sample/database_table.png ( main database table)
http://www.chltech.in/sample/got_value.png ( Temporary datagridview)
want to update bal stock to curqty
Hope now you understand
Thank you in advance for help me
推荐答案
这篇关于从临时gridview到现有表更新2列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!