While programming we have used division tags many times and it is the best method to store and display data in an HTML page.
Setting up div values can be done from front page as well as from the code page
Ex: <div id="maindiv" runat="server"> </div>
In programming for accessing it you must provide runat="server" property for accessing it.
maindiv.Attributes["style"]="Color:Red";
maindiv.innerHTML="Warning Message";
Through this you can manipulate it from the code behind
0 Comment(s)