Hi all
I want to create buttons dynamically.
Example:If in the database 4 user present than it will create 4 buttons
after 10 second 5 more users inserted into database .
than it should create 14 button .if anybody deleted 2 user than i should create 12 button.
for(int i=0;What to write;i++)
{
Button btnTest = new Button();
}
I wish to change the text property outside the written for loop.
Is it possible?
If YES please write the code and If NO than suggest a process to Create 5 button dynamically without writing the Button btnTest = new Button(); syntax 5 time.
Please Help
Thanks in advance