首页 | 麦客学吧 | 视频教程 | FLASH小游戏 | 素材下载 | 常用工具
您当前的位置:首页 > 程序开发 > C# > 正文

C# Source 与VB Source 的不同

出处:麦客学吧 [2007-6-28 17:54:39] 作者:佚名 点击数:197

讨论交流:http://x8.maicoo.com/team/8794.html

  C# Source

 
   Intro2_cs.aspx

 

 1 <%@ Page Language="C#"%>
 2
 3<html>
 4   <head>
 5      <link rel="stylesheet"href="intro.css">
 6   </head>
 7
 8   <body>
 9
10       <center>
11
12       <form action="intro2_cs.aspx" method="post">
13
14           <h3> Name: <input id="Name" type=text>
15
16           Category:  <select id="Category" size=1>
17                          <option>psychology</option>
18                          <option>business</option>
19                          <option>popular_comp</option>
20                      </select>
21
22           </h3>
23
24           <input type=submit value="Lookup">
25
26           <p>
27
28           <% for (int i=0; i <8; i++) { %>
29              <font size="<%=i%>"> Welcome to ASP.NET </font> <br>
30           <% }%>
31
32       </form>
33
34       </center>
35
36   </body>
37</html>
38
 

  VB Source

 
   Intro2_vb.aspx


 1 <%@ Page Language="VB" %>
 2<html>
 3   <head>
 4      <link rel="stylesheet"href="intro.css">
 5   </head>
 6
 7   <body>
 8
 9       <center>
10
11       <form action="intro2_vb.aspx" method="post">
12
13           <h3> Name: <input id="Name" type=text>
14
15           Category:  <select id="Category" size=1>
16                          <option>psychology</option>
17                          <option>business</option>
18                          <option>popular_comp</option>
19                      </select>
20
21           </h3>
22
23         

【责任编辑: lanier

关于 C# Source 与VB Source 的不同 的相关文章
素材中心
麦客酷站赏析频道

精彩图文推荐

关于本站 - 联系站长 - 广告服务 - 合作伙伴 - 网站地图 - 版权声明 - 报告错误 - 收藏本站 | Http://www.MaiCoo.com

Copyright © 2005 - 2008 MaiCoo.com All Rights Reserved

违法和不良信息举报中心 本站服务器空间和带宽由雷克斯网络提供赞助
浙ICP备06017818号