I want to access all the data from From2 in the datagrid in Form1.
Can I do this in C#? How?
I am woking with .NET 2, Visual Studio 2005.
Thanks
I want to access all the data from From2 in the datagrid in Form1.
Can I do this in C#? How?
I am woking with .NET 2, Visual Studio 2005.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
NeCroFirePosted Feb 18, 2008, 12:45 AM
Sweet.
Thanks
DavePosted Feb 16, 2008, 6:53 PM
E.g. ((Form2)Application.OpenForms["Form2"]).dataYouWantToAccess;
Replace dataYouWantToAccess with whatever variable you need to access.