display none asp.net

C#
div.Attributes.Add("style","display:none");
Source

Also in C#: