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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dave131 reputationPosted Feb 16, 2008, 1:53 PM EST
E.g. ((Form2)Application.OpenForms["Form2"]).dataYouWantToAccess;
Replace dataYouWantToAccess with whatever variable you need to access.
NeCroFire82 reputationPosted Feb 17, 2008, 7:45 PM EST
Sweet.
Thanks