Click here to Skip to main content
11,575,925 members (59,109 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#3.5
I have 5 form form1 open on form2 taking parameter from form2,form1 open on form3 taking parameter from form3 and so on.The parameter is product_Code.Form1 datagridview dispaly some data as per Product_Code in different form usnig C#.I am new to learn c# anyone help me.
Posted 29-Oct-11 9:31am
Mark Nischalke at 29-Oct-11 16:17pm
Your question is not clear, please try to restate it. Perhaps add some code, properly formatted, to illustrate what you trying to do

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Based on what I understood, you should probably pass a shared data-object across these forms. This data-object may or may not be a property in the parent form. You could pass it to the secondary forms either via the constructor or via a public property.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 350
1 Dave Kreskowiak 160
2 F-ES Sitecore 145
3 OriginalGriff 125
4 Abhinav S 98
0 OriginalGriff 705
1 Sergey Alexandrovich Kryukov 600
2 Abhinav S 438
3 F-ES Sitecore 410
4 Suvendu Shekhar Giri 365

Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 29 Oct 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100