i use visual studio 2012 c#. I tried to do something but unfortunately it's not working.
My problem:
I have a form with two datagridviews: one should be master and the other details(clone).
1-) such that When a row is selected in the master datagridview, the detail or clone datagridview is populated with data pertaining to the selected row.
2-) Secondly, What I am want to do is print (display) the master datagridview and each of the corresponding detail datagridviews. My legacy application already has printing capability so I'm trying to use that. I've created an array of the datagridviews and printed them, but all the detail datagridviews are the same because they were copied by reference.
Any help is welcome.