I have a winform which is responsible for doing a search by some conditions that users enters and then selects the records from a Database.
The search form has a data grid view which shows the result.
After searching, user clikcs on a row of the datagridview and then another form (for example frmShowDetails) will be displayed.
My question is when displaying frmShowDetails, what are your suggestions to send the id of selected row to frmShowDetails in order to feed it to show data in .net? Do you use form property or a private mariable which sets by only form constructor?
Thank you