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 console write in c#?

655


Explain the difference between event and a delegate in c#?

703


What does executescalar return in c#?

615


What is the difference between array and arraylist c#?

629


What is the difference between mobile application and desktop application?

631






Can you inherit multiple abstract classes in c#?

684


Define interface class in c#?

664


How to implement an object pool in c#.net.

761


What is dto c#?

643


Explain about c# language.

782


What is the difference between final finally and finalize in c#?

657


What is the use of thread join in c#?

669


Why are strings immutable c#?

630


What are the methods in c#?

680


what is the difference between convert.tostring() and tostring() functions ?

783