Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How can i load the text box and label at the runtime based on the existing text box and tabel..

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

How can i load the text box and label at the runtime based on the existing text box and tabel..

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

Post New Answer

More C Sharp Interview Questions

Describe an abstract class?

0 Answers   Siebel,


Are private class-level variables inherited?

5 Answers   HCL, Siebel Systems, Visual Soft,


Types of Unboxing?

2 Answers   Educomp,


Can we maintain state in webservice?

0 Answers  


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

0 Answers   CDC,


What is strong data type in c#?

0 Answers  


Is there any sample c# code for simple threading?

0 Answers  


What are the different ways of method can be overloaded?

0 Answers  


Are c# generics the same as c++ templates?

0 Answers  


Can a constructor have a return type?

0 Answers  


how to print invert pyramid in c#

0 Answers   ForSight,


What is delegates in c# and uses of delegates?

0 Answers  


Categories