Use a PlaceHolder server control.
<asp:PlaceHolder id="plhText" runat="server"/>
Then change the control at the place holder dynamically according to the edit mode.
txtBox = new Textbox
txtBox.Text = "Enter here"
plhText.Controls.Add(txtBox)
I am creating an on-line store. It has several pages and I would like to share data for each instance of the application.
I think I need to declare the variables in my Global.asax file but I'm not sure.
How would I do this and how would I reference the variables from within a page.
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.