摘要: 首先在 aspx.cs文件里建一个公开的静态方法,然后加上WebMethod属性。 如: [WebMethod] public static string GetUserName() { //...... } 如果要在这个方法里操作session,那还得将WebMethod的EnableSessio 阅读全文
posted @ 2017-04-24 11:04 fightingyy 阅读(356) 评论(0) 推荐(0)