谁能帮我写一个例子都行,好吗?
我老是弄不好,请看我的
<%@page language="vb" debug="true"%>
<script runat="server">
function mytest(byval myd as date) as date
myd=now()
mytest=myd
return mytest
end function
'就是这里要出错,不知道为什么,系统提供说是什么期待参数.我就是想用一FUNCTION来传一个值试试,没想到FUNCTION用不成功,希望大家能帮帮我,我刚学.NET,
testA.text=mytest
</script>
<body>
<form runat="server"><asp:label id="testA" runat="server"></asp:label></form>
</body>
小弟在此谢谢了