How to can i do like this:
datagridview1.row [i] = input value , and results(calculated) in datagridview2's row[i] = output value. it means input row and output rows are neeb to be same. i need to connect them. please help me.

Recommended Answers

All 3 Replies

Extract values from DGV1 row. Convert them to doubles. Do calculations. Fill in values in DGV2 row.

what code can i use ?

I guess you do this in the clickhandler of your calculate button.
You could use the Double.Tryparse method. To change the row values of your DGV. Success!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.