Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 13th, 2003, 06:52 AM
Registered User
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding controls at run-time !!


I have the table in my databse (T1). This is simple windows based application.

ContainerID | ContainerName | ParentControlID |
10 | Panel | 20 |
---------------------------------------------- ----------
20 | Form | 0 |
30 | Tab Control | 10 |
40 | Panel | 10 |
---------------------------------------------- ----------

Now my task is if the ContainerName is "form" then i need not do any thing. If it is of Panel, then its parentControlID is 20, which is form. Then i have to add the Panel to form. And for TabControl, the ParentControlID is 10, which is a panel, so i want to add this to Panel ete...

Can you please suggest me the way to perform the task with sample code.

Advance ThanX for your time & patience.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Controls At Run-Time robbev567 ASP.NET 2.0 Basics 2 July 25th, 2007 04:57 AM
Creating run time controls, manish_kaushik ASP.NET 2.0 Basics 1 February 10th, 2007 04:11 PM
Adding button at run time msathyaprasad90 ASP.NET 1.0 and 1.1 Professional 8 August 9th, 2006 11:05 PM
Create Controls in Run Time Fredu Access 3 January 8th, 2005 10:03 AM
Copying controls at run time aspadda Excel VBA 0 November 12th, 2003 01:07 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.