thanks for your reply, ca8msm!
i think i see what you mean.
the problem now is that i can't seem to access PlaceHolder1 from inside my class.
is there a way to pass in a reference to PlaceHolder1 or something?
hello!
i've created an instance of a class within an .aspx.
the class that i've instantiated has a method that contains the following code:
TextBox myTextBox = new TextBox();
myTextBox.Text = "Sample Text";
whenever i call this method i receive no errors, but i don't achieve the desired...
thanks for your replies!
i must admit the whole thing felt a bit nasty from the outset; i thought you might dissaprove ;-)
i'll read up on factories, interfaces and polymorphism then.
thanks for your help!!
hello there!
i'm new to c#, and as i'm looking to avoid developing any bad programming habits, i'd like to run my program design past all you experts just to make sure i'm not heading in the wrong direction.
can anybody see anything that might be wrong with the following idea?
i want to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.