button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • yysiow

    #1

    button

    hi all,

    if i want to do a loop and auto create button.
    in asp.net then button can use array or setting index?

    ex:
    <%
    for(int i = 0; i <= 10 ; i ++)
    {
    %>
    <asp:Button id="btshutdown< %=i%>" runat="server" Text="Shutdown"
    Enabled="False" ><asp:Button>
    <%
    }
    %>

    then have error...how can i do?


Working...