今天做了好久终于实现了!记录一下~
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="select_yarn.aspx.cs" Inherits="select_yarn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>搜索纱线信息</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Image ID="Image2" runat="server" ImageUrl="~/image/1.jpg" Width="100%" Height="120px"/>
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
BackColor="#E3EAEB" DynamicHorizontalOffset="2" Font-Names="Verdana"
Font-Size="0.9em" ForeColor="#666666" StaticSubMenuIndent="10px">
<StaticSelectedStyle BackColor="#1C5E55" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#666666" ForeColor="White" />
<DynamicMenuStyle BackColor="#E3EAEB" />
<DynamicSelectedStyle BackColor="#1C5E55" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<StaticHoverStyle BackColor="#666666" ForeColor="White" />
<Items>
<asp:MenuItem NavigateUrl="~/home.aspx" Text="主页" Value="主页"></asp:MenuItem>
<asp:MenuItem Text="信息维护" Value="信息维护">
<asp:MenuItem NavigateUrl="~/psw_alt.aspx" Text="修改密码" Value="修改密码">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="客户信息管理" Value="客户信息">
<asp:MenuItem NavigateUrl="~/create_customer.a