Getting Value of textbox from another form

Oct 11 2005 5:08 AM

Hi all,

    i'm having two forms.
Form1 contains a textbox 'txtId'.Form2 contains a grid.
Based on the Id in txtId, the grid should get filled in Form2.
When i try to access the text in TxtId in my Form2,i need to instantiate the Form1 class which leads to the creation of new object which contains 'null' for my TxtId.

Help me to overcome this problem,immediately!!!!!!

Thanks in advance,
Padma


Answers (2)