Click here to Skip to main content
12,945,719 members (55,095 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to made a global sheet in windows applications and how to use in different forms
Posted 4-Dec-12 15:57pm
Updated 9-Dec-12 4:38am
Expert Coming 5-Dec-12 2:22am
Help you with what? You have described what you want to do, not what is stopping you from achieving it...

1 solution

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

Solution 1

1. create a static class and put two static member into it.
2. from form2 set the value of variable1 to some primary key and set value of variable2 to 'modify' or 'delete'.
3. open form1
4. on the basis of variable1 fetch the record into the fields.
5. and on the basis of value in variable2 display 'modify' or 'delete' button.

i hope now you can continue further.........

please, mark as answer if it helps.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,899
CHill60 3,170
Maciej Los 2,443
Jochen Arndt 1,910
ppolymorphe 1,775

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 9 Dec 2012
Copyright © CodeProject, 1999-2017
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