passing vales from one form to another

V

Vinki

Hello Everyone,

I have two windows forms. I have a datagrid on one of the form, I want
that whenever user clicks on each row of the datagrid another windows form
text fields gets populated with data from the datagrid.
I am wondering how can I pass the value from one form to another.
I read couple of articles and every article mention that I can
declare properties and access the value of each form through properties
.. I tried declaring property on one of my form and in another form,
I tried accessing it, but another form does not see the first form so I
tried doing
Dim x as form2 (I don't see form2) in my form1 so how will I access the
properties. Also, how can I capture the value by double clciking the each row
of the datagrid.

Any help will be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top