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
What is the process of Serialization?
Are arrays value types or reference types?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is the use of getcommandlineargs() method in c#.net?
What is using keyword in C#?
What is difference between static and constant variable?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
What is func c#?
What is an enumerator c#?
What is a console file?
Does c# support multilevel inheritance?
What is datareader c#?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What is xml serialization and deserialization in c#?
Define multicast delegate? How it be used?