Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 05, 2012 04:37 AM by Vipindas
0 Points
1 Post
Apr 04, 2012 10:26 PM|LINK
Im trying to get the results from my database into a table structure... The issues is I would like them to be in sets of 3... Something similar to
(I know this is not correct just an example)
<table>
<% for (int i = 0; i < books.Count; i++) { %>
<tr> <td>result[0]</td>
<td>result[1]</td>
<td>result[2]</td> </tr> <% } %>
</table>
Ideally I would like to return all the rows of the Database table and place them into html table rows in sets of 3
Contributor
5514 Points
810 Posts
Apr 05, 2012 04:37 AM|LINK
Refer this
http://www.netrostar.com/Tutorials-91-ASP.NET%20Tutorial.%20How%20to%20use%20Repeater
http://www.ezineasp.net/post/ASP-Net-Repeater-Table.aspx
jv_webmaster
0 Points
1 Post
Result to Custom Table...
Apr 04, 2012 10:26 PM|LINK
Im trying to get the results from my database into a table structure... The issues is I would like them to be in sets of 3... Something similar to
(I know this is not correct just an example)
<table>
<% for (int i = 0; i < books.Count; i++) { %>
<tr>
<td>result[0]</td>
<td>result[1]</td>
<td>result[2]</td>
</tr>
<%
}
%>
</table>
Ideally I would like to return all the rows of the Database table and place them into html table rows in sets of 3
Vipindas
Contributor
5514 Points
810 Posts
Re: Result to Custom Table...
Apr 05, 2012 04:37 AM|LINK
Refer this
http://www.netrostar.com/Tutorials-91-ASP.NET%20Tutorial.%20How%20to%20use%20Repeater
http://www.ezineasp.net/post/ASP-Net-Repeater-Table.aspx