Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in below format



XML
<table class="style8" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="style13">
                                            <asp:ImageButton ID="ImageButton144" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton142" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Pet Walking</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton146" runat="server" ImageUrl="~/Images/arrow.jpg"  />
                                            <asp:LinkButton ID="LinkButton144" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Animal Fencing</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton148" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton146" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Pet House Sitting</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton150" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton148" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Breeding Services</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton152" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton150" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Animal Grooming</asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style13">
                                            <asp:ImageButton ID="ImageButton145" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton143" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Animal Boarding Kennels</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton147" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton145" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Vet Services</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton149" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton147" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Pet Training </asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton151" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton149" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Pet Insurance</asp:LinkButton>
                                        </td>
                                        <td>
                                            <asp:ImageButton ID="ImageButton153" runat="server" ImageUrl="~/Images/arrow.jpg" />
                                            <asp:LinkButton ID="LinkButton151" runat="server" Font-Names="Trebuchet MS"
                                                Font-Size="Small" ForeColor="Black" Font-Underline="False">Animal Removal</asp:LinkButton>
                                        </td>
                                    </tr>
Posted
Comments
OriginalGriff 3-Mar-11 9:06am    
I think come more information would help.
To start with, what are you talking about?
senguptaamlan 3-Mar-11 9:09am    
whats the problem that you are facing ??
R. Giskard Reventlov 3-Mar-11 9:29am    
You need to be far more specific and don't overwhelm with so much code where a fragment would serve the same purpose.

1 solution

Well, since it's a table, you have to go row-by-row in order to bind the result set. No direct method in tables to do it.

I see Image & Linkbutton repeated all through each row - kind of fixed layout. If so, you can try using a Datagrid instead. Map the fields with the datasource and that should show you the result.

Try!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900