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

Why do we need constructor in c#?

0 Answers  


What are properties in C#?

0 Answers   UGC Corporation,


How can you sort the elements of the array in descending order?

1 Answers   Junosource, Siebel Systems, Wipro,


What does immutable mean in c#?

0 Answers  


What is using in c#?

0 Answers  


Hi all,I am the beginner. Please tell use of finally block.

6 Answers   IBM,


What are Namespaces?

1 Answers  


Write a C# program to find the Factorial of n

0 Answers  


what is the difference between int and Int32?

5 Answers   TCS,


What is a static field?

0 Answers  


Why objects are stored in heap in c#?

0 Answers  


please exaplain gridview and what are the process available for it. how to add the row number automatically? is it possible to add child controls ?

2 Answers  


Categories