摘要:
PageMethods: using System.Web.Services; [WebMethod] public static string Ok() { return "this is function ok!"; }注意:using及WebMethodScriptManager: <asp:ScriptManager ID="sm" runat="server" EnablePage... 阅读全文
posted @ 2009-05-04 22:27
Localhost
阅读(549)
评论(0)
推荐(0)
摘要:
自定义类:public class people{ private string name; public string Name { get { return name; } set { name = value; } } private string password; public string Password { get { return password; } set { passwo... 阅读全文
posted @ 2009-05-04 21:51
Localhost
阅读(1544)
评论(0)
推荐(0)
摘要:
自定义类:public class people{ private string name; public string Name { get { return name; } set { name = value; } } private string password; public string Password { get { return password; } set { passwo... 阅读全文
posted @ 2009-05-04 15:42
Localhost
阅读(517)
评论(0)
推荐(0)
摘要:
自定义类:public class people{ private string name; public string Name { get { return name; } set { name = value; } } private string password; public string Password { get { return password; } set { passwo... 阅读全文
posted @ 2009-05-04 15:24
Localhost
阅读(1027)
评论(0)
推荐(0)
摘要:
WebService: [WebMethod] public string[] GetSimpleArray() { string[] cities = { "北京", "上海", "天津", "重庆" }; return cities; }ScriptManager: <asp:ScriptManager ID="sm" runat="server"> <Services>... 阅读全文
posted @ 2009-05-04 11:49
Localhost
阅读(2022)
评论(0)
推荐(0)

浙公网安备 33010602011771号