Hi Thanks u veryMuch,

It is working nice, My another problems is i have said that i taking the name from database and loading the menu and giving the addhandler for click event.
While k <= j - 1
menuitem1.MenuItems.Add(menuitem(k))
AddHandler menuitem(k).Click, menuitems_click
k = k + 1
End While

Here i have code for each name so when click this name the code should be retrived For example

i have muthu in the menulist and and have 02 as code in database so when im clicking the muthu i needed this 02 at EventHandler menuitems_Click
how can i pass this code to the handler.


Thanks in Advance