我是靠谱客的博主 优雅曲奇,这篇文章主要介绍如何通过表单创建一个Word?,现在分享给大家,希望可以做个参考。

docform.htm

<form action="doccreate.asp">
姓名: <input type="text" name="Name" size="50" maxlength="100">
电子邮件: <input type="text" name="Email" size="50" maxlength="100">
<p>
内容:<textarea cols="50" rows="10" name="comments"></textarea>
<input type="submit" value="
提交"> <p>
</form>

doccreate.asp
<% Response.ContentType = "application/msword" %>
<html>
<% strName = Request.Querystring("Name")
strEmail = Request.Querystring("Email")
strComments = Request.Querystring("Comments")
%>

<head>
</head>
<body>
<p align="right"><%=formatdatetime(now,2)%></p>

<%= strname %>:
我的电子邮件是: <%= stremail %>
内容是: <%= strComments %>
</body></html>

[1]

最后

以上就是优雅曲奇最近收集整理的关于如何通过表单创建一个Word?的全部内容,更多相关如何通过表单创建一个Word内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(159)

评论列表共有 0 条评论

立即
投稿
返回
顶部