i suggest keeping a collection of those objects for your form(or in another scope above the Button_Click method) and adding a new object to that in the event receiver like:
var coll = new List<Classname>();
protected void Button1_Click(object sender, EventArgs e)
{
coll.Add(new Classname());
}
0
solved Creating objects on click button event [closed]