在导入到moss site 的web 应用程序中,将头源代码和尾部修改进行修改
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Hello1.aspx.cs" Inherits="try3._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form >
    <div>
  ....................(内容)
    </div>
    </form>
</body>
</html>

修改为
<%@ Page masterpagefile="~masterurl/default.master" language="C#" title="Untitled 1" inherits="try3._Default" %>
<asp:Content >
..................(内容)
</asp:Content>

相关文章:

  • 2022-01-27
  • 2021-10-04
  • 2022-12-23
  • 2022-02-18
  • 2021-07-22
  • 2022-02-26
  • 2022-01-20
猜你喜欢
  • 2021-09-22
  • 2021-06-07
  • 2021-07-12
  • 2021-06-19
  • 2022-02-08
  • 2021-05-17
相关资源
相似解决方案