[Solved] How get button Text from MyControl(Button)? [closed]
You need to cast the control to the type of your user control. If your class is really called Button then something like this var myButton = this.Controls[“button” + i] as Button; if(myButton != null && myButton.naz == “1”) … solved How get button Text from MyControl(Button)? [closed]