I'm trying to add a hot news section with the TOP 3 results from the database into rounded edged tables. What I want to do is change the id value so it is not the same for each one. What I tried to do is add an incremented integer value at the end of "RoundedCorners1" with n being the incremented integer value and the tags looked like this:
<% Response.Write("id=RoundedCorners1" & n) %>
The problem is, I get an error saying that I cannot do this within a control. How would I go about changing the id value each time I loop through?
Here's the code
<skm:roundedcorners id="RoundedCorners1" runat="server" BackgroundBackColor="white"
BackColor="#FFE0C0" BorderColor="Black" BorderStyle="Solid"
Width="150px" Padding="1px" CornerHeight="16px" TextHorizontalAlign="Center">
This is a simple example with text in the rounded corners box. It has a width
explicitly set to 150 pixels, and the images are anti-aliased.