Pass Data From Data Grid in Form To Text Box in The Other Form
-
How can i pass Data from data grid to text box while the record in the data grid is highlighted. TEXT BOX in Form1 & DataGrid in Form2 How Can?
-
How can i pass Data from data grid to text box while the record in the data grid is highlighted. TEXT BOX in Form1 & DataGrid in Form2 How Can?
So what exactly is the problem? Getting the highlighted cell text or passing it to the other form? If problem is passing then use a delegate or (and I really don't recomend this one) a simple static method in the form1 that sets the text of thexbox 1. The delegate is the way I would go.
-
How can i pass Data from data grid to text box while the record in the data grid is highlighted. TEXT BOX in Form1 & DataGrid in Form2 How Can?
This[^] will give you the basic idea
Dave
If this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)