Partial Class ABC
Dim newStyleSheet As New HtmlLink()
newStyleSheet.Href = "include/StyleSheet.css"
I want to add a stylesheet in the codebehind using this simple code snippet, my page doesn't have anything else.
I got Declaration expected error when do a 'build page' as well as when 'view in Browser' in localhost.
When I typed in a dot after an object, a contex menu appears with a bunch of object' members, what namespace I should import in this case for newStyleSheet? cause I don't see anything....
what's wrong with my page? Thx