Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Iam using MainMenu first_menu = new MainMenu(); to create new menu item in .net windows based application. all items in the menu comes from database by using certain queries.but when i added new menu item changes not reflecting in the menuitem.I invoke the procedure to bind menuitems after addition of menuitems to the table.but its not works.but when i dispose the form and call the form again it works.but its not possible to dispose and call it again after each addition.if do so the menu window come in front of already taken window. how to solve it

THANKS IN ADVANCE


Amrutha
Posted
Updated 29-Mar-12 1:24am
v3
Comments
Wayne Gaylard 29-Mar-12 8:09am    
You need to show some code of what you have done

1 solution

When you add new items from database there will be something like Acceptchanges()where new changes made will be considered. Check for that. If still problem persist then put the source code
 
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