display none asp.net code example Example: display none asp.net div.Attributes.Add("style","display:none");