/ Published in: VB.NET
Dynamic Add css file in header
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
' In Asp.net page <HEAD> <asp:Literal ID="lit1" Runat="server"> <LINK href="style1.css" type="text/css" rel="stylesheet"> </asp:Literal> </HEAD> ' In vb.net load_page lit1.Text = "<LINK href=""style2.css"" type=""text/css"" rel=""stylesheet"">"