<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sendDoc.aspx.cs" Inherits="document_sendDoc" %><!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>
<link rel="stylesheet" type="text/css" href="../CSS/CSS.css" />
</head>
<body style="background-image: url(../image/rightFrame.gif)">
<form id="form1" runat="server">
<div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table style="width: 675px; height: 200px" class="css" border="1" align ="center">
<tr>
<td align="center" colspan="3" class="cssTitle">
公文传送</td>
</tr>
<tr>
<td style="width: 64px">
审批人:</td>
<td colspan="2">
<asp:DropDownList ID="ddlName" runat="server" Width="154px" CssClass="InputCss">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 64px">
标题:</td>
<td colspan="2">
<asp:TextBox ID="TextBox1" runat="server" Width="516px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 64px; height: 14px">
内容:</td>
<td style="height: 14px;" colspan="2">
<asp:TextBox ID="TextBox2" runat="server" Height="109px" TextMode="MultiLine" Width="517px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 64px; height: 21px">
附件:</td>
<td colspan="2" style="height: 21px">
上传的文件不可以超过4M<br />
<input id="File1" style="width: 589px" type="file" runat="server" class="InputCss" /></td>
</tr>
<tr>
<td align="center" colspan="3">
<asp:Button ID="btnSend" runat="server" Text="发 送" Width="72px" OnClick="btnSend_Click" CssClass="redButtonCss" />
<asp:Button ID="Button2" runat="server" CausesValidation="False" Text="重 置" Width="72px" CssClass="redButtonCss" OnClick="Button2_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>提问:怎样在代码——
<tr>
<td style="width: 64px; height: 14px">
内容:</td>
<td style="height: 14px;" colspan="2">
<asp:TextBox ID="TextBox2" runat="server" Height="109px" TextMode="MultiLine" Width="517px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>中加入一些代码,使其实现文字格式(如字体选择、字体选择、字体颜色等)功能?
<head runat="server">
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="../CSS/CSS.css" />
</head>
<body style="background-image: url(../image/rightFrame.gif)">
<form id="form1" runat="server">
<div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table style="width: 675px; height: 200px" class="css" border="1" align ="center">
<tr>
<td align="center" colspan="3" class="cssTitle">
公文传送</td>
</tr>
<tr>
<td style="width: 64px">
审批人:</td>
<td colspan="2">
<asp:DropDownList ID="ddlName" runat="server" Width="154px" CssClass="InputCss">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 64px">
标题:</td>
<td colspan="2">
<asp:TextBox ID="TextBox1" runat="server" Width="516px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 64px; height: 14px">
内容:</td>
<td style="height: 14px;" colspan="2">
<asp:TextBox ID="TextBox2" runat="server" Height="109px" TextMode="MultiLine" Width="517px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 64px; height: 21px">
附件:</td>
<td colspan="2" style="height: 21px">
上传的文件不可以超过4M<br />
<input id="File1" style="width: 589px" type="file" runat="server" class="InputCss" /></td>
</tr>
<tr>
<td align="center" colspan="3">
<asp:Button ID="btnSend" runat="server" Text="发 送" Width="72px" OnClick="btnSend_Click" CssClass="redButtonCss" />
<asp:Button ID="Button2" runat="server" CausesValidation="False" Text="重 置" Width="72px" CssClass="redButtonCss" OnClick="Button2_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>提问:怎样在代码——
<tr>
<td style="width: 64px; height: 14px">
内容:</td>
<td style="height: 14px;" colspan="2">
<asp:TextBox ID="TextBox2" runat="server" Height="109px" TextMode="MultiLine" Width="517px" CssClass="InputCss"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="** 必填项"></asp:RequiredFieldValidator></td>
</tr>中加入一些代码,使其实现文字格式(如字体选择、字体选择、字体颜色等)功能?
解决方案 »
- repeater控件怎么像gridview一样编辑 更新,删除啊?
- 求助如何在ASP.NET(C#)里面调用做好的report.冰天雪地裸体跪求~~~~~
- sqlHelper.cs中使用单例
- .NET在自己的机器上为什么不能修改数据
- 请问一下 我的日历出现乱码 怎么解决
- 如何用asp.net在虚拟空间的虚拟目录里创建子文件夹?
- A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
- 请问哪里有专讲“web自定义控件”的书籍下载?
- 急求教两个问题?
- 程序运行不显示脚本部分??
- 关于数据分布排序的问题
- asp.net发布后出现套接字错误。
<asp:DropDownList ID="ddlName" runat="server" Width="154px" CssClass="InputCss">
</asp:DropDownList></td>
你直接使用一个Web编辑器不就解决了吗
简单的自己设计一个,在浏览器端用JS格式化用户输入文本,在显示的时候,替换某些关键字为html标签