asp.net - how can declare variable of -


How to and can declare a variable type

  & lt; Div id = "b" runat = "server" / & gt;   

code

 get  (b); Get private zero (& lt; div & gt; d) {d.Visible = false; }   

Can I do this work? How to <...

Use to declare a device on the server side.

  var div = new System.Web.UI.HtmlControls.HtmlGenericControl ("div");   

The answer is still the same, use a HtmlGenericControl.

  Get Private Zero (HtmlGenericControl D) {d.Visible = false; }    

Comments