RE: Adding Controls to a Page 2005-02-18 - By Sonu Kapoor
isnt that:
Label lbl = new Label; lbl.Text = "test";
page.controls.add(lbl) ;
?
On Fri, 18 Feb 2005 16:29:54 -0500, Boudreau, Duane <BoudreauD@(protected)> wrote: > Using C#, is there a way to dynamically add controls (labels, textboxes, > etc) to a page in its code behind page? > > If so can someone point me to a tutorial or some sample code? > > Thanks, > Duane > > Need SQL Advice? http://sqladvice.com > Need RegEx Advice? http://regexadvice.com > Need XML Advice? http://xmladvice.com >
-- Sonu Kapoor WebSite: http://www.Kapoorsolutions.com Blog: http://www.Kapoorsolutions.com/blog/
Need SQL Advice? http://sqladvice.com Need RegEx Advice? http://regexadvice.com Need XML Advice? http://xmladvice.com
|
|