Hi,
how can I assign a method to a button defined in the code behind?
my code:
Button btn = new Button(); btn.CommandArgument = i.ToString(); btn.ID = "btn" + i.ToString(); btn.Text = "rimuovi"; btn.Click=;
I want to reach the protected method deleteLotto
Thanks in advance