工作两年没用过wenservers需要详细的教程,解答谢谢给个参考链接
[WebMethod]
public string HelloWorld() {
return "Hello World";
}
的WebMethod是什么意思,
如果返回dataset sqldatareader 等其他类型的如何写
[WebMethod]
public static SqlDataReader rtnData()
{
return SqlHelp.DbSql.ExecuteReader("select username from usertable where userid=244");
}
//在另一个项目中web引用了这个服务 但是找不到这个静态的rtnData()方法
请高手指点