怎样声明一个方法代码写在aspx页面中,以前没这么写过,怎样声明一个返回string型的方法? <% string GetNum(string bus_id){} %> 酱紫吗?[解决办法] <SCRIPT language= "C# " runat= "server "> public string GetStr(string str){return str + "***** ";} </SCRIPT> <%=GetStr( "a ")%>