<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="KuGo.Web._Default" %>
 
<%@ Register src="Contrl/Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="Contrl/Header.ascx" tagname="Header" tagprefix="uc2" %>

<!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>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        .dataTable        
        {
            width:400px;
            border:1px solid #cdcdcd;
        }
        .dataTable th       
        {
            background-color:#EFEFEF;
            padding:4px;
        }
         .dataTable td      
        {          
            border-bottom:1px solid #cdcdcd;
            border-right:1px solid #cdcdcd;
            padding:4px;
            overflow:hidden;
            text-overflow:ellipsis;
            white-space:nowrap;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <uc2:Header ID="Header1" runat="server" />
     <table border="0" cellspacing="0" cellpadding="10" width="900px" style="margin:10px auto 10px auto;" >
 
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepCategories" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="CategoriesRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"CategoryID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CategoryName")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepCustomerCustomerDemo" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="CustomerCustomerDemoRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"CustomerID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CustomerID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepCustomerDemographics" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="CustomerDemographicsRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"CustomerTypeID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CustomerTypeID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepCustomers" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="CustomersRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"CustomerID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CustomerID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepEmployees" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="EmployeesRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"EmployeeID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"LastName")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepEmployeeTerritories" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="EmployeeTerritoriesRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"EmployeeID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"TerritoryID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepOrderDetails" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="OrderDetailsRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"OrderID")%>" target="_blank">
                                            
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepOrders" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="OrdersRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"OrderID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CustomerID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepProducts" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="ProductsRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"ProductName")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepRegion" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="RegionRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"RegionID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"RegionDescription")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepShippers" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="ShippersRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"ShipperID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CompanyName")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepSuppliers" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="SuppliersRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"SupplierID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"CompanyName")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
    
      <tr>
        <td valign="top">
          <asp:Repeater ID="RepTerritories" runat="server">
            <HeaderTemplate>
              <table class="dataTable">
                <tr>
                  <th>类别</th>
                </tr>
              </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                  <img src="images/item.gif" alt=""/>
                  <a href="TerritoriesRead.aspx?id=<%#DataBinder.Eval(Container.DataItem,"TerritoryID")%>" target="_blank">
                    <%#DataBinder.Eval(Container.DataItem,"TerritoryID")%>                        
                  </a>
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
              </table>
            </FooterTemplate>
          </asp:Repeater>
        </td>
      </tr>
     
    </table>
    <uc1:Footer ID="Footer1" runat="server" />   
    </form>
</body>
</html>
 