——此文章摘自《ASPNET +SQL Server网络应用系统开发案例精解》定价¥特价¥ 详细>>http://tracklinktechcn/?m_id=dangdang&a_id=A&l=&l_type= width= height= border= nosave> <TD align=center height=> <asp:HyperLink id=hl_Search runat=server NavigateUrl=ST_Searchaspx Target = ST_main Width=px><img src=img/searchicogif border=><br>查找</asp:HyperLink> </TD> <TD align=center height=> </TD> <TD align=center height=> <asp:HyperLink id=hl_Exit runat=server NavigateUrl=ST_Logoutaspx Target = ST_main><img src=Img/aqquitgif border=><br>退出</asp:HyperLink> </TD></TR> </TABLE> </TD></TR> </TABLE></FONT> </TD> </TR> </TABLE> ()后台事件处理页面ST_Topaspxcs主要代码及其解释如下 if(!objectEquals(Session[UserName]null)) { if (ST_GROUPFlowerPrearrangeST_UserST_IsSupervisor(Session[UserName]ToString())) { //链接到鲜花管理界面 hl_FlowerNavigateUrl = ST_FlowerManageaspx; hl_FlowerText = <img src=img/forumgif border=><br>鲜花管理 ; hl_FlowerVisible =true; //链接到用户管理界面 hl_AccountsNavigateUrl = ST_ManageUseraspx; hl_AccountsText = <img src=img/mansgif border=><br>用户管理; hl_AccountsVisible =true; hl_OrdersNavigateUrl = ST_ManageOrderaspx; hl_OrdersText = <img src=img/UserOrdergif border=><br>订单; hl_OrdersVisible =true; thishl_CartVisible = false; thishl_UserOrderVisible = false; thishl_TempVisible = false; } else { hl_FlowerVisible =false; hl_AccountsVisible =false; hl_OrdersVisible =false; } } right>[http://developcsaicn/dotnet_ASP/htm>] [] |