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

Can multiple catch blocks be executed?

4 Answers  


Difference between string and stringbuilder?

3 Answers   HCL, Siemens, TCS,


What is an inheritance in c#?

0 Answers  


What are extension methods and where can we use them?

0 Answers  


What is the root element of an xml file?

0 Answers  


What is difference between value and reference types?

5 Answers   Accenture,


int a = '3' + '4'; char n = (char)a; What will be answer of n?

4 Answers  


How do you clear a list in c#?

0 Answers  


How can you sort strings in array that are passed to method as arguments?

0 Answers  


When you inherit a protected class-level variable, who is it available to?

5 Answers   CMC, IBM,


What Is A Multicast Delegate?

0 Answers   Siebel Systems,


How do you name a variable in c#?

0 Answers  


Categories