How can i load the text box and label at the runtime based
on the existing text box and tabel
Answer Posted / dhara
public void labelcontrol()
{
label l=new label();
l.visible=true;
l.location =new point(100,100);
l.text="Name";
this.controls.add(l);
}
FOR CREATING LABEL AT RUNTIME.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is eager loading in c#?
What is attribute and reflection in c#?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
How to achieve polymorphism in c#?
What is exe in c#?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
What is datagrid c#?
How do I unload an assembly?
Explain About .Net remoting
Can we extend sealed class in c#?
What is #region in c#?
What are actions in c#?
Is a char?
What can you do as a .net developer?
How to find type of variable?