Kedar Pawgi

Kedar Pawgi

  • 1.6k
  • 136
  • 63.5k

how to access one form items on 2nd form

Mar 1 2012 9:08 AM
Hi all
since couple of month i have problem or i dnt know how to do that...suppose i have to forms.. form1.cs and form2.cs.

i have 1 datagrid which is showing order details on form 1. Using one button i am loading form2.cs as showmodal, on form2 is the data entery form for order details. when i click  save button on form2, the whole record should go to datagrid of form1.cs, i dnt know how to access that datagrid from form2. This is just an example, plz guide me as i came across this problem many time in my project, so i have to make different way...but i need to find proper solution. As in  VB6, i have to just take the name of form1 and using dot i get all the thing available on form2, how can i do that...plz guide
Thanks in advance.


Answers (1)