I need to make a loop and in this I need to change the properties of the buttons. What I have made:
while(count>=1){
P+count.BackColor = Color.Blue;
}
Result I want:
P1.BackColor = Color.Blue;
P2.BackColor = Color.Blue;
P3.BackColor = Color.Blue;
etc..
ps: the colors need to be specifically the colors form the database so I can't set them like the result.