随笔 - 20  文章 - 7  trackbacks - 0
<2006年2月>
2930311234
567891011
12131415161718
19202122232425
2627281234
567891011

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

积分与排名

  • 积分 - 19902
  • 排名 - 1714

最新评论

 1<% @page language="vb" %>
 2<html>
 3<head>
 4<title>
 5编写一个asp.net程序代码
 6</title>
 7</head>
 8<body>
 9<%
10dim strAuthorName
11dim intDefaultSize as integer
12dim strFontName as string="隶书"
13const strTitle as string="编写""一个""asp.net程序"
14const strFontColor as string="purple"
15strAuthorName=10
16strAuthorName="tomtom"
17intDefaultSize= 5
18response.write("<font face=" & strFontName & " size=" & intDefaultSize & " color=" & strFontColor & ">")'这里的"和&之间一定要有一个空格!!!我不加空格的话就调试不到,不知道为什么,有没有高手可以告诉我?
19response.write("标题文字:" & strTitle & "<br>")
20response.write("作者:" & strAuthorName & "<br>")
21response.write("默认中文字体:" & strFontName & "<br>")
22response.write("默认字号:" & intDefaultSize & "<br>")
23response.write("</font>")
24%>
25</body>
26</html>






posted on 2006-02-05 21:36 The Game, tomtom 阅读(235) 评论(1)  编辑  收藏 所属分类: die

FeedBack:
# re: 编写一个asp.net程序代码 2006-12-24 06:28 
空格+& 是续行符 固定格式  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: