6
Answers

C# 2008 express / RowHeaderMouseDoubleClick

Manuel B

Manuel B

16y
7.1k
1

Hello,

I have form1 with various databound textboxes (customer details) and a working customers_binding_navigator plus datasets.

A button on form1 named btnSearch opens form2.ShowDialog that has working search functionality and returns queried records into a datagridview.

Q: I want to use a "dataGridView_RowHeaderMouseDoubleClick" event to close the form2 and  get my form1 to show the records relating to the dataGridView selected result .

Ie: if the user chooses a record in datagridview that is "Mr jones with contact ID = 4" how will form1 refresh and show  Mr Jones contact details.

What are the steps as I am quite lost.


Thanks in advance

Answers (6)