Computer Science, asked by amanpreet84, 8 months ago

User control loop can be used by using:​

Answers

Answered by rajatraj929
1

Answer:

I have problem displaying usercontrol,I have a usercontrol which has a panel called rowpanel which has textbox and combobox,Now ,when I Click button_1,I want the usercontrol to be displayed on each click,it is like adding a row on each click,I just don`t know how to loop it,I tried using indexing...

CODE

private void button1_Click(object sender, EventArgs e)

{

AddRow add = new AddRow();

show_pnl.Controls.Add(add);

}

AddRow is usercontrol ...this is a windows application,can I get some help please,

Explanation:

mark me as brainlist and please follow me very urgent

Similar questions