62,072
社区成员
发帖
与我相关
我的任务
分享
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="zhERP_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>增辉EMS</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox id="TextBox1" runat="server" Text="1"></asp:TextBox>
<br />
<a href="#" onclick="document.form1.TextBox1.value= 'qwe';">123123</a></div>
<input id="Text1" type="text" /> <a href="#" onclick="document.form1.Text1.value= 'aaa';">aaa</a>
</form>
</body>
</html>
但是使用母板在如下里面怎么写<%@ Page Language="C#" MasterPageFile="~/zzz/main.master" AutoEventWireup="true"
CodeFile="zzz.cs" Inherits="zzz" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
</asp:Content>