Click here to Skip to main content
12,398,537 members (62,249 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
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
v2
Comments
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
 
good
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.
  Permalink  

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


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 9 Dec 2012
Copyright © CodeProject, 1999-2016
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