我正在尝试删除在aspx页面中写入文件后创建的空格。以下是供您参考的代码:
<div class="wrapper" runat="server">
<header class="main-header skin-blue">
<%If Session("UserRole") = "Admin" Or Session("UserRole") = "TeamLead" Then
Response.WriteFile("frmHeaderAdmin.aspx")
Else
Response.WriteFile("frmHeaderEmployee.aspx")
End If %>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar" runat="server">
<%If Session("Userrole") = "Admin" Then
Response.WriteFile("frmSideBarAdmin.aspx")
ElseIf Session("Userrole") = "TeamLead" Then
Response.WriteFile("frmSideBarTL.aspx")
Else
Response.WriteFile("frmSideBarUser.aspx")
End If%>
</aside>`enter code here`
</div>
请让我知道我要去哪里哪里,以便我可以对代码进行必要的更改