asim jan

asim jan

  • NA
  • 24
  • 28.7k

displaying data in a repeator control

Apr 15 2012 10:13 AM
i am displaying search results in a repeator
and the problem i am facing is that book image is displayed on top with details below the image
i want to display the image on the side..
kindly help 
i am pasting code thanks
in advance

<asp:Repeater runat="server" id="Repeater_search">
 <itemtemplate>
 <br />
 <asp:Image ID="Image1" runat="server" Height="200" Width="145" ImageUrl='<%#Eval("Book_Image")%>' />
 <b><br /></b>
 <b><%# DataBinder.Eval(Container.DataItem, "Book_Name") %></b>
 <br>Author: <%# DataBinder.Eval(Container.DataItem, 
"Book_Author", "{0:d}") %>
    
 <br>Publisher: <%# DataBinder.Eval(Container.DataItem, 
"Book_Publisher", "{0:d}") %>
    <br />
 </itemtemplate>
 <separatortemplate>
 <hr>
 </separatortemplate>
 </asp:Repeater></td>

Attachment: ss.rar

Answers (2)