ASP中的function问题

来源:百度知道 编辑:UC知道 时间:2024/05/26 09:25:11
初学者提问,高手帮忙,在提交时,提示数据类型不品配,怎么办?
function1.asp如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>function过程的应用</title>
<form name="funf" method="post" action="function2.asp" >
<input type="text" name="funt" size="10" />
<input type="submit" name="funs" value="提交" />
</form>

function1.asp如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>function过程的应用</title>
<form name="funf" method="post" action="function2.asp" >
<input name="funt" type="text" size="10" maxlength="10" />
<input type="submit" name="funs" value="提交" />
</form>