Click here to Skip to main content
15,881,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to made a global sheet in windows applications and how to use in different forms
Posted
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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900