<%
class Clear()
{
public static void kill()
{
這裡面放清除session的語句
}
}<input type=button onclick="<% Clear.kill();%>">
你試一下
%>
class Clear()
{
public static void kill()
{
這裡面放清除session的語句
}
}<input type=button onclick="<% Clear.kill();%>">
你試一下
%>
thanks to jeston,the only one to help me!