在MVC架构中使用aspx页面,需要在Text.aspx中开头加入如下代码:

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<!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></title>
</head>
<body>

 

相关文章:

  • 2022-02-24
  • 2021-10-24
  • 2022-12-23
  • 2021-11-04
  • 2021-10-07
  • 2021-12-12
  • 2022-01-07
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2022-02-12
  • 2021-10-01
  • 2022-12-23
相关资源
相似解决方案