How can i load the text box and label at the runtime based
on the existing text box and tabel
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is a linq in c#?
What is a thread c#?
What is use of FormBoarderStyle Propertie
What does immutable mean in c#?
List down the differences between public, static and void keywords?
Explain the Different types of configuration files in .net?
What is xamarin used for?
What do you mean by casting a data type?
What is the default value of datetime in c#?
What is single dimensional array in c#?
What is data annotation in c#?
How do you create dlls in .NET