I have a project in C# which I can record data for each row in the datagridview separately, but it is takes a long time to do, so how can I develop the below code so that I can