Home > Net >  How to put the datagridview all data inserted into the database in bulk
How to put the datagridview all data inserted into the database in bulk

Time:10-04



Such as according to the above picture

The first step to read data from A table in the database in the datagridview show

The second step the user to change some quantity values

The third step the user changes the data inserted into a database table B, add a button event, click on the button bulk insert into the database table B


Which the teacher to help give directions, I am using ACCESS database

thank you so much great god teacher give directions

thank you
13 px] [size= [/size]

CodePudding user response:

Since you have read out, modify finished, that is:
1. Read DatagridView data,
2. Insert data into database,

This seems to be not worth to give directions,

CodePudding user response:

Datagridview a datasource attribute, returns the datatable, click event loop table primary key in the database to modify
  •  Tags:  
  • C#
  • Related