با سلام وتشکر
من وب فرمم رو بدون بوت استرب کار کرده بودم که داخلش گرید ویو داشت الان همه قسمتهاش رو بابوت استرپ واکنش گرا کردم الا گرید ویو . "عمده کار گرید ویو من نشان دادن عکس هست "کدهاش رو می گذارم لطفا منو راهنمایی کنید.
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12"> <asp:GridView ID="grdCustomer" runat="server" DataSourceID="SqlDataSource2" Width="100%" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False" BorderStyle="None" DataKeyNames="id" EmptyDataText="There are no data records to display."> <Columns> <asp:BoundField DataField="id" HeaderText="id" SortExpression="id" Visible="False" ReadOnly="True" /> <asp:TemplateField FooterText=" "> <FooterTemplate> </FooterTemplate> <HeaderTemplate> </HeaderTemplate> <ItemTemplate> <div style="text-align: right; line-height: 20px; left: 30px;"> <table class="font"> <tbody> <tr> <td class="font" style="top: 20px; text-align:right; padding-right: 20px;"> <asp:Label ID="Label1" runat="server" Text='<%# Eval("cod") %>' BorderStyle="Solid" CssClass="font" Font-Size="small" ></asp:Label> <br /> <br /> <asp:Label ID="Label2" runat="server" Text='<%# Eval("abad") %>' BorderStyle="None" CssClass="font" Font-Size="small"></asp:Label> <br /> <br /> <asp:Label ID="Label3" runat="server" Text='<%# Eval("jenc") %>' BorderStyle="None" CssClass="font" Font-Size="small"></asp:Label> <br /> <br /> <asp:Label ID="Label6" runat="server" Text='<%# Eval("tozih") %>' BorderStyle="None" CssClass="font" Font-Size="small"></asp:Label> <br /> <br /> </td> <td > <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("pic") %>' Height="400px" Width="500px"></asp:Image> </td> </tr> </tbody> </table> </div> </ItemTemplate> <ControlStyle BorderStyle="None" /> <HeaderStyle BorderStyle="None" /> <ItemStyle BorderStyle="None" Font-Size="Larger" VerticalAlign="Top" /> </asp:TemplateField> </Columns> <HeaderStyle BorderStyle="None" /> </asp:GridView> <div style="position: relative; width: 500px; height: 80px; bottom: 25%;"> <asp:Image ID="Image2" runat="server" ImageUrl="~/image/saatsheny.gif"></asp:Image> <asp:Label ID="Label5" runat="server" Text="Label" Font-Size="Larger">...منتظر طرحهای بعدی باشید</asp:Label> </div> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:mandegarweb94ConnectionString %>" SelectCommand="spdonafare" SelectCommandType="StoredProcedure"></asp:SqlDataSource> </div>
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)