How can i load the text box and label at the runtime based
on the existing text box and tabel

Answer Posted / anil

Generally code goes like this
private void LoadControl()
{
TextBox tb = new TextBox();
tb.Location = new Point(500, 100);
tb.Visible = true;
this.Controls.Add(tb);
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is func delegate in c#?

505


What is callback delegate in c#?

455


What is meant by collections in c#?

448


Why do we need indexer in c#?

540


What is the lock statement in c#?

528






Why do we need interface in c#?

496


What is a class c#?

475


List down the fundamental oop concepts?

498


what is IEquatable

560


What is the benefit of delegate in c#?

496


What is data type c#?

492


What does do in c#?

536


What is a generic class?

525


what is the meaning of Object lifetime in OOPS

535


Can we override constructor in c#?

500