aspÊý¾Ý¿âÎÊÌâ - Web ¿ª·¢ / ASP
¸÷λ´óϺ£¬ÎÒ×öÁËÒ»¸öASPµÃͨѶ¼£¬µ«ÊdzýÁ˲éѯ¹¦ÄܺÃÏñÆäËû¶¼ÓÐÎÊÌ⣬ÆäÖÐÌí¼Ó¹¦ÄÜÈçÏ£¬ÄÜÖ¸µ¼Ò»ÏÂÎÒÄÄÀï³ö´íÁËÂð£¿
<html>
<head>
<title>ÎÞ±êÌâÎĵµ</title>
</head>
<body>
<h3>ÈôÐèÒª¼ÓÈëÁªÏµÈË£¬ÇëÌîдÏÂÁÐÐÅÏ¢£º</h3>
<form method="post" action="charu2.asp">
<p>ÐÕ Ãû£º<input type="text" size="25" name="Name" ></p>
<p>µç»°ºÅÂ룺<input type="text" size="25" name="Nbr" ></p>
<p>¼Òͥסַ£º<input type="text" size="25" name="Add" ></p>
<p><input type="submit" value="È·¶¨" name="B1"></p>
</form>
</body>
</html>
<% Option Explicit %>
<html>
<head>
<title>ÎÞ±êÌâÎĵµ</title>
</head>
<body>
<%
'Èç¹ûÉÏÃæµÄÐÅÏ¢ÌîÈ«ÁË£¬¾ÍÌí¼Ó¼Ç¼£¬·ñÔò¸ø³ö´íÎóÐÅÏ¢
If Request.Form("Name")<>"" And Request.Form("Nbr")<>"" And Request.Form("Add")<>"" Then
'ÒÔÏÂÁ¬ÉÏÊý¾Ý¿â£¬½¨Á¢Ò»¸öConnection¶ÔÏóʵÀýdb
Dim db,strconn
Set db=Server.CreateObject("ADODB.Connection")
strConn="Dbq=" & Server.Mappa
Ïà¹ØÎÊ´ð£º
ÎÒÕÒÁËÒ»¸öα¾²Ì¬´úÂ룬ÈçÏ£º
index.asp
<!--#include file="config.asp"-->
<ol>
<%
Set rs=server.CreateObject("adodb.recordset") & ......
ÄÄÀï³ö´íÁË£¬Êä³öÕâÑùµÄ½á¹û£¿£¿
<%@ Page Language="VB" AutoEventWireup="false" aspcompat="true" CodeFile="Default.aspx.vb" Inherits="_Default" %&g ......
±¾ÈËÒ»Ö±´ÓÊÂjavaµÄ¿ª·¢£¬ spring , strutsµÈµÈ£¬ ÏÖÔÚÂíÉÏÒª½ÓÒ»¸öasp.netµÄÏîÄ¿£¬ ²»ÖªµÀasp.netÖÐÓÐûÓкÍjavaÖеÄstrutsÀàËƵĶ«Î÷£¬ ¿ÉÒÔÔÚËûµÄ»ù´¡ÉÏ£¬Ö±½Ó¿ª·¢£¬ ЧÂʸߣ¬ ¶øÇÒºÃά»¤ ¡£¡£ лл£¬Ï£Íû´ó¼Ò£¬¶ ......
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
AÒ³Ãæ
<table width="200" border="1">
<tr>
<td>1</td>
<td>3</td>
<td><!--#include/top.html#-- ......