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 |
Describe the parts of assembly.
What is a destructor in c#?
Is dll a library?
What is the difference between an implicit conversion and an explicit conversion?
When should you use generics?
Explain the different types of delegates used in c#.
What is the use of New Keyword
Why do we need interfaces?
How?s method overriding different from overloading?
Explain acid rule of thumb for transactions in c#.
What is a void c#?
What do u mean by delegation of authority?