Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
.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
Posted
Updated 19-May-14 6:49am
v4
Comments
Meysam Toluie 18-May-14 0:29am    
And What column should be update? And How?
Rajesh Siroya 18-May-14 1:23am    
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
Meysam Toluie 18-May-14 1:28am    
Does DataGridView Databinded?
Completely unclear. Please explain clearly.
Rajesh Siroya 18-May-14 1:23am    
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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900