I have a Form1 where i Display a set of results and when a user clicks on a row it opens an other form form2 where it calculates a
value and should post it back to the a cell in the datagird in form1.
Now in a gloabl module i declared both the forms
public PayGrid as new form1()
public DrawGrid as new form2()
and in the second form i coded it as
where ds and rownum are declared as public in Paygrid form(ie Form1)
but i get an error system.nullreferenceexception
:Object reference not set to an instance of an object.
is there any easy way around?
Please help me ASAP