Relative Content

Tag Archive for c#sqlselectdatagridviewparent

How to send information from the dialog form to the parent form when the dialog form is closed C#

I have a parent form that have a text box and button to search.
When user click on button a dialog form is opened and dialog form has a datagridview that show a data from database ( title and code). User can select one row in datagridview. when User click on one row this form is closed and the information of row (title) from dialog form show on parent form (textbox). how can send information from dialog form to parent form?