Y
yysiow
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?
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?