Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 使用数据列表显示图像_C#_Asp.net_Visual Studio 2010_Datagridview - Fatal编程技术网

C# 使用数据列表显示图像

C# 使用数据列表显示图像,c#,asp.net,visual-studio-2010,datagridview,C#,Asp.net,Visual Studio 2010,Datagridview,这是我的代码,我使用图像滑块使用datalist显示图像,但我不知道如何在图像滑块时显示大图像这是我的代码: <div id="photos" class="galleryview"> <img src="images/home_gallery/banner1.jpg" /> <div style="margin: 30px 0px 0px 0px"> <asp:DataList RepeatDirection="Horizontal

这是我的代码,我使用图像滑块使用
datalist
显示图像,但我不知道如何在图像滑块时显示大图像这是我的代码:

  <div id="photos" class="galleryview">
  <img src="images/home_gallery/banner1.jpg" />
  <div style="margin: 30px 0px 0px 0px">
    <asp:DataList RepeatDirection="Horizontal" ID="dl_Images" runat="server" OnItemDataBound="dl_Images_ItemDataBound"
      OnItemCommand="dl_Images_ItemCommand">
      <ItemTemplate>
        <ul class="filmstrip">
          <div class="panel">
            <a href="" id="img_href" runat="server">
              <div class="panel-overlay" align="left">
                <li>
                  <asp:Image BorderColor="#ececec" BorderStyle="Solid" BorderWidth="1" runat="server"
                    ID="i_ProductImage" Width="104" Height="104" />
                </li>
            </a>
            </div>
            <div align="center" style="margin: 0px 0px 0px 0px">
              <asp:LinkButton ToolTip='<%# Eval("ProductID") %>' CommandArgument='<%# Eval("ProductID") %>'
                CommandName="lbclick" ID="lb_productID" runat="server" Text='<%# Eval("ProductID") %>'
                CssClass="bule-link"></asp:LinkButton>
            </div>
            <%--<asp:Label ID="l_ProductId" runat="server" Text='<%#Eval("ProductId") %>'></asp:Label>--%>
          </div>
        </ul>
      </ItemTemplate>
    </asp:DataList>
  </div>
</div>

--%>